Merge "Parameterize infracloud playbook by platforms"
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Mon, 12 Sep 2016 09:42:16 +0000 (09:42 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Mon, 12 Sep 2016 09:42:16 +0000 (09:42 +0000)
prototypes/bifrost/scripts/destroy-env.sh

index 4dffee6..f092a65 100755 (executable)
@@ -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/*