diff options
author | QiLiang <liangqi1@huawei.com> | 2016-11-28 22:56:44 +0800 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2016-11-28 22:56:44 +0800 |
commit | fcd0eefae931bb7bed0380574c1c7acaa31ffa28 (patch) | |
tree | 1caf0cf1dc1aa78539a584528db2fe9f2deaef13 /deploy/compass_vm.sh | |
parent | 3f8a00051ed34fddc1c18e2543142a40f60481d7 (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/compass_vm.sh')
-rwxr-xr-x | deploy/compass_vm.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh index 63c1998b..a83f2b0f 100755 --- a/deploy/compass_vm.sh +++ b/deploy/compass_vm.sh @@ -71,6 +71,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" |