Commit 95ed44b4 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

fix first platform verification by passing root properly

parent 2edd434b
......@@ -4,13 +4,13 @@
* @file install the hostmaster system
function drush_provision_hostmaster_install($site, $platform, $client_email) {
function drush_provision_hostmaster_install($site, $client_email) {
$platform = drush_locate_root(drush_get_option(array('r', 'root'), NULL));
// verify the current platform
drush_backend_invoke('provision-verify', array(
'root' => $platform, //drush_get_option(array('r', 'root'), $platform),
'root' => $platform,
'provision_context' => "platform",
'publish_path' => drush_locate_root(drush_get_option(array('r', 'root'), NULL)),
'publish_path' => $platform,
'platform' => '5') // dirty hardcoded to create the first platform apache config
// this will become unnecessary when we have drush aliases
......@@ -207,7 +207,7 @@ if [ ! -d $HOSTMASTER_DIR ] ; then
$DRUSH hostmaster-make $HOSTMASTER_DIR
msg "Installing hostmaster"
msg "Initializing the hosting system"
$DRUSH hosting-setup --root="$HOSTMASTER_DIR" --uri="$AEGIR_DOMAIN" -y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment