Commit 252df16c authored by anarcat's avatar anarcat Committed by anarcat

move hosting-setup into hostmaster-install

parent f3b5489f
......@@ -26,6 +26,10 @@ function drush_provision_hostmaster_install($site) {
'site_port' => drush_get_option('web_port', 80)),
'GET', TRUE
);
drush_print('Login link is ' . $data['context']['login_link']);
drush_print("Initializing the hosting system");
drush_backend_invoke('hosting-setup', array('uri' => $site, 'root' => $platform));
drush_print(dt("Aegir is now installed. You can visit it at @link", array('@link' => $data['context']['login_link'])));
}
......@@ -206,11 +206,5 @@ if [ ! -d $HOSTMASTER_DIR ] ; then
$DRUSH hostmaster-make $HOSTMASTER_DIR
msg "Installing hostmaster"
$DRUSH hostmaster-install --root="$HOSTMASTER_DIR" $AEGIR_DOMAIN
msg "Initializing the hosting system"
$DRUSH hosting-setup --root="$HOSTMASTER_DIR" --uri="$AEGIR_DOMAIN" -y
$DRUSH hostmaster-install --root="$HOSTMASTER_DIR" $AEGIR_DOMAIN
fi
msg "Aegir is now installed. You can visit it at http://$AEGIR_DOMAIN"
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