summaryrefslogtreecommitdiffstats
path: root/bifrost/scripts/destroy-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bifrost/scripts/destroy-env.sh')
-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