aboutsummaryrefslogtreecommitdiffstats
path: root/juju
diff options
context:
space:
mode:
authorYingjun Li <yingjun.li@huawei.com>2017-03-21 17:47:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-21 17:47:49 +0000
commit6eead084e4ab0cd49d98f0da2b19258ed9f3ec6b (patch)
treefb42054e1233e6deaf32a1bdde799d8981f28388 /juju
parenta3ed99e617de7918b4a1290a3be681c3d27b41cc (diff)
parent82e695eeef37a9745bfbcda6e553823a4fc36fbd (diff)
Merge "Add delay when upload csar package fail" into stable/danube
Diffstat (limited to 'juju')
-rwxr-xr-xjuju/juju_launch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/juju/juju_launch.sh b/juju/juju_launch.sh
index 2aff57e..766ebfe 100755
--- a/juju/juju_launch.sh
+++ b/juju/juju_launch.sh
@@ -78,7 +78,8 @@ function juju_client_prepare()
$OS_REGION_NAME:
endpoint: $OS_AUTH_URL' > clouds.yaml"
- local cmd1="juju add-cloud openstack clouds.yaml --replace"
+ local cmd1="juju remove-cloud openstack; \
+ juju add-cloud openstack clouds.yaml --replace"
exec_cmd_on_client $cmd1
if [[ ! $(exec_cmd_on_client "juju list-clouds | grep openstack") ]]; then