summaryrefslogtreecommitdiffstats
path: root/ci/cleanvm.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-10 03:16:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-10 03:16:25 +0000
commitcdeb6a51122d7e3a041392fe77b5c36caca224d6 (patch)
tree6cb77dc9a74124c986a2dd6c36c5484e499734be /ci/cleanvm.sh
parent4d1467c15dd67cc97a4fde31785993fe1b0bd58f (diff)
parentfd093420288909426af205dba4e158799ba5e256 (diff)
Merge "on aarch64, libvirt failed to undefine a guest with nvram"
Diffstat (limited to 'ci/cleanvm.sh')
-rwxr-xr-xci/cleanvm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/cleanvm.sh b/ci/cleanvm.sh
index 95c985fa..df069baf 100755
--- a/ci/cleanvm.sh
+++ b/ci/cleanvm.sh
@@ -16,7 +16,7 @@ for vm in node1-control node2-compute node3-control node4-control \
do
echo "$vm_list" | grep -q " $vm " || continue
sudo virsh destroy $vm
- sudo virsh undefine $vm
+ sudo virsh undefine --nvram $vm
sudo rm -f /var/lib/libvirt/images/${vm}.qcow2
done