From 52db078007273e7b6d0bf2e18144814f85564c6e Mon Sep 17 00:00:00 2001 From: Sergey Murashov Date: Tue, 11 Feb 2014 13:24:51 +0400 Subject: [PATCH] Add editing some parameters for murano-conductor.conf Change-Id: I56274fc6311ecd5b2fbce6d2314873f36d1606b9 --- infra/deploy_vm_new.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/infra/deploy_vm_new.sh b/infra/deploy_vm_new.sh index 2401b51..5c293ea 100644 --- a/infra/deploy_vm_new.sh +++ b/infra/deploy_vm_new.sh @@ -71,6 +71,11 @@ send -- [lindex $argv 5] send -- "/\" /etc/murano/conductor.conf\n" expect "@murano" +send -- "sed -i \"s/ssl = False/ssl = " +send -- [lindex $argv 5] +send -- "/\" /etc/murano/murano-conductor.conf\n" +expect "@murano" + send -- "sed -i \"s/\\\"BootFromVolume\\\": true,//\" /etc/murano-conductor/data/templates/cf/Linux.template\n" expect "@murano" send -- "sed -i \"s/\\\"BootFromVolume\\\": true,//\" /etc/murano-conductor/data/templates/cf/Windows.template\n" @@ -81,6 +86,11 @@ send -- [lindex $argv 1] send -- ":8084\\/v1/\" /etc/murano/conductor.conf\n" expect "@murano" +send -- "sed -i \"s/murano_metadata_url = http:\\/\\/localhost:8084\\/v1/murano_metadata_url = http:\\/\\/" +send -- [lindex $argv 1] +send -- ":8084\\/v1/\" /etc/murano/murano-conductor.conf\n" +expect "@murano" + send -- "echo \"LANGUAGE_CODE='en'\" >> /etc/openstack-dashboard/local_settings.py\n" expect "@murano" send -- "sed -i \"s/DEBUG = False/DEBUG = True/\" /etc/openstack-dashboard/local_settings.py\n"