From 73a71b794191019bfa83f6bd7194ef8316273780 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Thu, 2 Mar 2017 16:11:35 +0800 Subject: 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 --- util/modify_file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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 -- cgit 1.2.3-korg