From: Di Xu Date: Mon, 17 Jul 2017 07:49:42 +0000 (+0800) Subject: on aarch64, libvirt failed to undefine a guest with nvram X-Git-Tag: opnfv-5.0.RC1~69^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=fd093420288909426af205dba4e158799ba5e256;p=joid.git 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 --- 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