aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-11-23 10:43:38 +0800
committerQiLiang <liangqi1@huawei.com>2016-11-23 10:43:38 +0800
commit461433b75da4589f5a67ee1af42c0b78de23d53e (patch)
tree7825be0ab3cd749bb4783b425884f14992e3f5d6 /deploy/compass_vm.sh
parentb15421ac53b8f57011613e29505cd8c0275b5066 (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: I1a6b5ca84d4dd00a3f326b30b68e0ecac022d5ef Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/compass_vm.sh')
-rwxr-xr-xdeploy/compass_vm.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh
index f1c92892..61e27051 100755
--- a/deploy/compass_vm.sh
+++ b/deploy/compass_vm.sh
@@ -74,6 +74,11 @@ function inject_compass_conf() {
_inject_dashboard_conf
}
+function refresh_compass_core () {
+ cmd="/opt/compass/bin/refresh.sh"
+ exec_cmd_on_compass $cmd
+}
+
function wait_ok() {
set +x
log_info "wait_compass_ok enter"