diff options
author | carey.xu <carey.xuhan@huawei.com> | 2015-12-22 20:02:07 +0800 |
---|---|---|
committer | carey.xu <carey.xuhan@huawei.com> | 2015-12-22 20:02:07 +0800 |
commit | ae41e2a2f00cbf8d2b8d024e387db0385f34a9e7 (patch) | |
tree | d6d06c7aeaedf778195e10a5e4cef5f79836bbef | |
parent | 8375e207ff0e79abe1db56733c9b4da433fc7791 (diff) |
clean all virutal host before deploy
JIRA: COMPASS-212
Change-Id: If19bd069ae1fc8cfe565f1e1ed352f24b9fc3950
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
-rwxr-xr-x | deploy/launch.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/launch.sh b/deploy/launch.sh index 9a223ec9..273e27a9 100755 --- a/deploy/launch.sh +++ b/deploy/launch.sh @@ -18,6 +18,11 @@ source ${COMPASS_DIR}/deploy/compass_vm.sh source ${COMPASS_DIR}/deploy/deploy_host.sh ######################### main process +old_ifs=$IFS +IFS=, +tear_down_machines +IFS=$old_ifs + if [[ "$DEPLOY_STEP" == "compass_only" || "$DEPLOY_STEP" == "all" ]] then if ! prepare_env;then |