aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-12-23 01:18:27 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-23 01:18:28 +0000
commit771c919d4aae01758ed54220288f12e4f64e35c7 (patch)
tree509d12357550f3ca6c0bd4483bdc15061bfad412 /deploy
parent5e3b598f5999a7ab6d49cb294d8e5514003ae20c (diff)
parentae41e2a2f00cbf8d2b8d024e387db0385f34a9e7 (diff)
Merge "clean all virutal host before deploy"
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/launch.sh5
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