Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
bifrost: Refactor bifrost jobs
[releng.git]
/
prototypes
/
bifrost
/
scripts
/
destroy-env.sh
diff --git
a/prototypes/bifrost/scripts/destroy-env.sh
b/prototypes/bifrost/scripts/destroy-env.sh
index
72ade5b
..
6746457
100755
(executable)
--- 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