diff options
author | Justin chi <chigang@huawei.com> | 2015-12-23 01:18:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-12-23 01:18:28 +0000 |
commit | 771c919d4aae01758ed54220288f12e4f64e35c7 (patch) | |
tree | 509d12357550f3ca6c0bd4483bdc15061bfad412 | |
parent | 5e3b598f5999a7ab6d49cb294d8e5514003ae20c (diff) | |
parent | ae41e2a2f00cbf8d2b8d024e387db0385f34a9e7 (diff) |
Merge "clean all virutal host before deploy"
-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 |