on aarch64, libvirt failed to undefine a guest with nvram 17/39017/1
authorDi Xu <di.xu@arm.com>
Mon, 17 Jul 2017 07:49:42 +0000 (15:49 +0800)
committerDi Xu <di.xu@arm.com>
Thu, 10 Aug 2017 02:39:58 +0000 (10:39 +0800)
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>
ci/cleanvm.sh

index 5a5365b..5419025 100755 (executable)
@@ -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