summaryrefslogtreecommitdiffstats
path: root/prototypes/bifrost/scripts/destroy-env.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-21 10:28:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-21 10:28:54 +0000
commit1686df597be23ac2924cc90a821930a22a1d02d5 (patch)
tree3f1945c0dc4b15464e501733de61a377b545a1b1 /prototypes/bifrost/scripts/destroy-env.sh
parent3690af3dbfb90a7e073b10c6fece26ed2dd3af44 (diff)
parenta88b258312d3c858b1b1167dfd03a09a6e28cacd (diff)
Merge "xci: Enable VM provisioning using bifrost for daily runs"
Diffstat (limited to 'prototypes/bifrost/scripts/destroy-env.sh')
-rwxr-xr-xprototypes/bifrost/scripts/destroy-env.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/prototypes/bifrost/scripts/destroy-env.sh b/prototypes/bifrost/scripts/destroy-env.sh
index 1138da904..7d3db90b0 100755
--- a/prototypes/bifrost/scripts/destroy-env.sh
+++ b/prototypes/bifrost/scripts/destroy-env.sh
@@ -27,6 +27,9 @@ done
service ironic-conductor stop || true
+echo "removing inventory files created by previous builds"
+rm -rf /tmp/baremetal.*
+
echo "removing ironic database"
if $(which mysql &> /dev/null); then
mysql -u root ironic --execute "drop database ironic;"