summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-12-12 09:05:19 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-12 09:05:19 +0000
commit56155e34ee8cd33792e26573c58abd51b9bfd290 (patch)
treec2a4423026fe159f00d1c9f6bd41227f9c3403be
parentd17ff1b2c865d1cb0be88882ec95fdc847d16bdc (diff)
parentb35cbb57db32903e8dc3387870e3f388adc9beac (diff)
Merge "bifrost: destroy-env.sh: Clean dib images by default"
-rwxr-xr-xbifrost/scripts/destroy-env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bifrost/scripts/destroy-env.sh b/bifrost/scripts/destroy-env.sh
index 45d2b72e..3ee66642 100755
--- a/bifrost/scripts/destroy-env.sh
+++ b/bifrost/scripts/destroy-env.sh
@@ -53,8 +53,8 @@ echo "removing leases"
echo "removing logs"
rm -rf /var/log/libvirt/baremetal_logs/*
-# clean up dib images only if requested explicitly
-CLEAN_DIB_IMAGES=${CLEAN_DIB_IMAGES:-false}
+# clean up dib images by default
+CLEAN_DIB_IMAGES=${CLEAN_DIB_IMAGES:-true}
if [ $CLEAN_DIB_IMAGES = "true" ]; then
rm -rf /httpboot /tftpboot