From ae41e2a2f00cbf8d2b8d024e387db0385f34a9e7 Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Tue, 22 Dec 2015 20:02:07 +0800 Subject: clean all virutal host before deploy JIRA: COMPASS-212 Change-Id: If19bd069ae1fc8cfe565f1e1ed352f24b9fc3950 Signed-off-by: carey.xu --- deploy/launch.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.2.3-korg