From fd093420288909426af205dba4e158799ba5e256 Mon Sep 17 00:00:00 2001 From: Di Xu Date: Mon, 17 Jul 2017 15:49:42 +0800 Subject: [PATCH] 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 --- ci/cleanvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6