summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))