summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index 4335b821..bd48c0d1 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -102,6 +102,7 @@ for i in $(seq 0 $vm_index); do
/usr/bin/touch /var/lib/libvirt/images/baremetal${i}.qcow2
virsh vol-delete baremetal${i}.qcow2 --pool default 2> /dev/null | xargs echo -n
rm -f /var/lib/libvirt/images/baremetal${i}.qcow2 2> /dev/null
+ if [ -e /root/.vbmc/baremetal$i ]; then vbmc delete baremetal$i; fi
done
for network in ${OPNFV_NETWORK_TYPES}; do
@@ -119,7 +120,6 @@ done
# clean pub keys from root's auth keys
sed -i '/stack@undercloud.localdomain/d' /root/.ssh/authorized_keys
-sed -i '/virtual-power-key/d' /root/.ssh/authorized_keys
# force storage cleanup