Commit 18aeb99c authored by drumm's avatar drumm Committed by Neil Drumm

Use alias name managed by hositng

parent 5d969424
......@@ -308,7 +308,7 @@ class provisionService_db extends provisionService {
* Write out server's drushrc alias file.
*/
function write_alias() {
$config = new provisionConfig_drushrc_alias(drush_get_option('db_host') . '-db', array('db_host', 'master_db_host', 'master_db_user', 'master_db_passwd'));
$config = new provisionConfig_drushrc_alias(drush_get_option('hosting_name') . '-db', array('db_host', 'master_db_host', 'master_db_user', 'master_db_passwd'));
$config->write();
}
}
......
......@@ -128,7 +128,7 @@ class provisionService_http extends provisionService {
* Write out server's drushrc alias file.
*/
function write_alias() {
$config = new provisionConfig_drushrc_alias(drush_get_option('web_host') . '-web', array('web_host', 'web_ports', 'web_group', 'restart_cmd'));
$config = new provisionConfig_drushrc_alias(drush_get_option('hosting_name') . '-web', array('web_host', 'web_ports', 'web_group', 'restart_cmd'));
$config->write();
}
}
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