diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-03-02 16:11:35 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-03-02 20:21:33 +0800 |
commit | 73a71b794191019bfa83f6bd7194ef8316273780 (patch) | |
tree | 27098c28ff21f2582829272faf97a8ae502f56f7 /util | |
parent | df06f21dc792b1c17219d9d9d59e29184e1868bb (diff) |
adjust juju connect
1. delete existing VIM and VNFM when add
2. fix mysql grant not effective bug
3. remove know_hosts in juju env prepare
Change-Id: I2b6c470020b2a36d341f8313baaded15c0dfd2cd
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/modify_file.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/modify_file.sh b/util/modify_file.sh index c33a2eb..607c6cd 100644 --- a/util/modify_file.sh +++ b/util/modify_file.sh @@ -10,7 +10,7 @@ file1=/home/etc/conf/juju_conf.json sed -i 's/^\(.*"image-metadata-url":\).*/\1 "http:\/\/REPLACE_JUJU_METADATA_IP\/images"\,/g' $file1 sed -i 's/^\(.*"network":\).*/\1 "juju-net"\,/g' $file1 -#sed -i 's/^\(.*"use-floating-ip":\).*/\1 "False"\,/g' $file +sed -i 's/^\(.*"use-floating-ip":\).*/\1 "True"\,/g' $file file2=/home/etc/csarInfo/csarinfo.json sed -i 's/^\(.*"csar_file_path":\).*/\1 "\/home\/ubuntu\/csar\/"\,/g' $file2 |