During the site creation, a drive with the same name as the site is also automatically created. However, you can decide if such a drive is automatically created or not by using two parameters named autoCreatedDrive, and targetDrives in the external component plugin named CreateLivePortalEventListener.
<external-component-plugins>
<target-component>org.exoplatform.services.listener.ListenerService</target-component>
<component-plugin>
<name>org.exoplatform.portal.config.DataStorage.portalConfigCreated</name>
<set-method>addListener</set-method>
<type>org.exoplatform.services.wcm.portal.listener.CreateLivePortalEventListener</type>
<description>this listener creates a new live portal content storage.</description>
<init-params>
<value-param>
<name>autoCreatedDrive</name>
<description>A drive will be automatically created during the portal creation.</description>
<value>false</value>
</value-param>
<values-param>
<name>targetDrives</name>
<description>The list of drives which are automatically created during the portal creation with
"autoCreatedDrive=false".
</description>
<value>acme</value>
</values-param>
</init-params>
</component-plugin>
</external-component-plugins>
If autoCreatedDrive=true, a drive will be automatically created during the portal creation regardless of targetDrives. In case autoCreatedDrive is not specified, then its default value is true.
If autoCreatedDrive=false, only drives listed in targetDrives are created. In case targetDrives is not specified, no drives are created.