Commit 4979053f authored by mig5's avatar mig5 Committed by mig5
Browse files

pass more values for the server to ensure they get in the database

parent bbcb055d
......@@ -30,7 +30,9 @@ function drush_provision_hostmaster_install($site) {
$data['init_db'] = 'mysql';
$data['provision_context'] = 'server';
$data['parent_path'] = drush_server_home();
$data['web_group'] = 'www-data'; #for now
$data['script_user'] = drush_get_option('script_user');
$data['web_group'] = drush_get_option('web_group', _provision_default_web_group());
$data['web_port'] = drush_get_option('web_port', 80);
$data['drush_path'] = DRUSH_COMMAND;
// verify the server
......@@ -63,7 +65,7 @@ function drush_provision_hostmaster_install($site) {
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'])));
......@@ -185,5 +185,5 @@ else
msg "Installing the frontend"
$DRUSH hostmaster-install --client_email="$CLIENT_EMAIL" --backend-only=$BACKEND_ONLY --root="$HOSTMASTER_DIR" --version="$AEGIR_VERSION" --parent_path="$AEGIR_HOME" --web_group="$WEB_GROUP" $AEGIR_DOMAIN
$DRUSH hostmaster-install --client_email="$CLIENT_EMAIL" --backend-only=$BACKEND_ONLY --root="$HOSTMASTER_DIR" --version="$AEGIR_VERSION" --parent_path="$AEGIR_HOME" --script_user='$USER' --web_group="$WEB_GROUP" $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