aboutsummaryrefslogtreecommitdiffstats
path: root/juju/juju_launch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'juju/juju_launch.sh')
-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