aboutsummaryrefslogtreecommitdiffstats
path: root/juju
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-03-01 15:06:26 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-03-01 15:08:22 +0800
commitcce77461244bce9cd3f58c480ff895a4a9fb3837 (patch)
tree3db820c41f0cb29fed5146cdeb31b29bcdcf9769 /juju
parentbd9c1aff4191019efe05cd0fabbade624bb2229d (diff)
juju connect bug fix
1. fix false juju metadata ip in tomcat8 config files 2. add missing modify_file.sh Change-Id: I319a747dccf95e2aeb6568a36746ad5e1f32bb81 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'juju')
-rwxr-xr-xjuju/juju_connect.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/juju/juju_connect.sh b/juju/juju_connect.sh
index 2bc742b..6d1b3e4 100755
--- a/juju/juju_connect.sh
+++ b/juju/juju_connect.sh
@@ -42,6 +42,7 @@ function sync_juju_driver_file()
scp_to_openo ${UTIL_DIR}/modify_file.sh /home
local cmd2="sed -i s/REPLACE_JUJU_DRIVER_IP/$NFVO_DRIVER_VNFM_JUJU_IP/ /home/modify_file.sh; \
+ sed -i s/REPLACE_JUJU_METADATA_IP/$floating_ip_metadata/ /home/modify_file.sh; \
chmod +x /home/modify_file.sh; \
/home/modify_file.sh"
exec_cmd_on_openo $cmd2