From: carey.xu Date: Tue, 22 Dec 2015 12:02:07 +0000 (+0800) Subject: clean all virutal host before deploy X-Git-Tag: brahmaputra.1.0~117^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F5067%2F1;p=compass4nfv.git clean all virutal host before deploy JIRA: COMPASS-212 Change-Id: If19bd069ae1fc8cfe565f1e1ed352f24b9fc3950 Signed-off-by: carey.xu --- 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