summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDi Xu <di.xu@arm.com>2017-07-17 15:49:42 +0800
committerDi Xu <di.xu@arm.com>2017-08-10 10:39:58 +0800
commitfd093420288909426af205dba4e158799ba5e256 (patch)
treea03b3a13c4fbbefaa6b1d48154b4b388d7449b4a
parentb6cc7d415446524aa86b26410eb09fb1ee52896f (diff)
on aarch64, libvirt failed to undefine a guest with nvram
refer to related redhat issue #1195667 (https://bugzilla.redhat.com/show_bug.cgi?id=1195667) Change-Id: Ie5c3cc04b978f778886c9a3f7fbb9a2e9fc460e5 Signed-off-by: Di Xu <di.xu@arm.com>
-rwxr-xr-xci/cleanvm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/cleanvm.sh b/ci/cleanvm.sh
index 5a5365b2..54190252 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