summaryrefslogtreecommitdiffstats
path: root/prototypes
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-09-27 20:22:58 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-27 20:22:59 +0000
commit22b11a71a3669c4bf1c7a276201b1eb169b019dc (patch)
treedaec289bd37ff9fab825c1fc4cddf70a0a15d901 /prototypes
parente79c777acae656dbd7fa72de7675a4cd1bae148c (diff)
parent17c580ad155f3256c86ceb078aee2cf8512a072e (diff)
Merge "bifrost: Refactor bifrost jobs"
Diffstat (limited to 'prototypes')
-rwxr-xr-xprototypes/bifrost/scripts/destroy-env.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/prototypes/bifrost/scripts/destroy-env.sh b/prototypes/bifrost/scripts/destroy-env.sh
index 72ade5b14..674645777 100755
--- a/prototypes/bifrost/scripts/destroy-env.sh
+++ b/prototypes/bifrost/scripts/destroy-env.sh
@@ -37,8 +37,9 @@ rm -rf /var/log/libvirt/baremetal_logs/*.log
CLEAN_DIB_IMAGES=${CLEAN_DIB_IMAGES:-false}
if [ $CLEAN_DIB_IMAGES = "true" ]; then
- rm -rf /httpboot
- rm -rf /tftpboot
+ rm -rf /httpboot /tftpboot
+ mkdir /httpboot /tftpboot
+ chmod -R 755 /httpboot /tftpboot
fi
# remove VM disk images