From: Fatih Degirmenci Date: Mon, 12 Sep 2016 09:42:16 +0000 (+0000) Subject: Merge "Parameterize infracloud playbook by platforms" X-Git-Tag: colorado.1.0~48 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=17e6f6028541a1d5cbdb4bec843f6d04c07c62f6;hp=2dae7e0c3f318e3adce19bbbccea4abe84f781d4;p=releng.git Merge "Parameterize infracloud playbook by platforms" --- diff --git a/prototypes/bifrost/scripts/destroy-env.sh b/prototypes/bifrost/scripts/destroy-env.sh index 4dffee62a..f092a658a 100755 --- a/prototypes/bifrost/scripts/destroy-env.sh +++ b/prototypes/bifrost/scripts/destroy-env.sh @@ -27,6 +27,8 @@ echo "removing logs" rm -rf /var/log/libvirt/baremetal_logs/*.log # clean up dib images only if requested explicitly +CLEAN_DIB_IMAGES=${CLEAN_DIB_IMAGES:-false} + if [ $CLEAN_DIB_IMAGES = "true" ]; then rm -rf /httpboot/* rm -rf /tftpboot/*