Closed arknoll closed 7 years ago
Note:
This is how I had my custom override task site install set:
<echo>Installing Drupal...</echo>
<drush command="site-install">
<option name="site-name">"${project.human_name}"</option>
<option name="site-mail">"${drupal.account.mail}"</option>
<option name="account-name">"${drupal.account.name}"</option>
<option name="account-pass">"${drupal.account.password}"</option>
<option name="account-mail">"${drupal.account.mail}"</option>
<!-- Addition: Add config-dir option so Drush overwrites config. -->
<option name="config-dir">../config/default</option>
<param>"${project.profile.name}"</param>
<param>"install_configure_form.update_status_module='array(FALSE,FALSE)'"</param>
</drush>
My system information:
When I run this command:
I get the following output:
And I expected this to happen: The site to install.
Debug info: I went into phing/tasks/drupal.xml and I printed out the value of ${cm.core.dirs.${cm.core.key}.path} before the drupal install ran the value is set to
If I hard code the install command like this, it works: (notice config-dir is the dir relative to the VM)