summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-10-04 18:06:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-04 18:06:35 +0000
commit01e35f7f336f5a95e85131671abe82a7f99946aa (patch)
tree41806c405989ee6ee2b403b7cc7a3c3ab1d68101
parent992e5d6084ddea8d3bb65a92bd98b8789be3c703 (diff)
parent30c7c9e4de1bbd4d4cdc6f0c775d52f80a3103fb (diff)
Merge "Pass flags to allow domain undefine with NVRAM"
-rw-r--r--apex/clean.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/clean.py b/apex/clean.py
index 0b1be860..f56287e1 100644
--- a/apex/clean.py
+++ b/apex/clean.py
@@ -70,7 +70,7 @@ def clean_vms():
if domain.isActive():
logging.debug('Destroying domain')
domain.destroy()
- domain.undefine()
+ domain.undefineFlags(libvirt.VIR_DOMAIN_UNDEFINE_NVRAM)
# delete storage volume
try:
stgvol = pool.storageVolLookupByName("{}.qcow2".format(vm))