aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/launch.sh
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-11-28 22:56:44 +0800
committerQiLiang <liangqi1@huawei.com>2016-11-28 22:56:44 +0800
commitfcd0eefae931bb7bed0380574c1c7acaa31ffa28 (patch)
tree1caf0cf1dc1aa78539a584528db2fe9f2deaef13 /deploy/launch.sh
parent3f8a00051ed34fddc1c18e2543142a40f60481d7 (diff)
Add refresh.sh exec on compass-core
Add refresh.sh exec on compass-core, so user don't need to manually execute the refresh.sh script when they what redeploy the openstack without redeploy the compass-core vm. Change-Id: I63803ee1db1caafdb71f8ead44f04c62c0ad0f98 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/launch.sh')
-rwxr-xr-xdeploy/launch.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/launch.sh b/deploy/launch.sh
index 348d11e2..80e78538 100755
--- a/deploy/launch.sh
+++ b/deploy/launch.sh
@@ -62,6 +62,8 @@ if [[ "$DEPLOY_COMPASS" == "true" ]]; then
log_error "launch_compass failed"
exit 1
fi
+else
+ refresh_compass_core
fi
if [[ -z "$REDEPLOY_HOST" || "$REDEPLOY_HOST" == "false" ]]; then