diff options
author | Dan Radez <dradez@redhat.com> | 2017-10-03 14:25:04 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2017-10-03 14:25:04 -0400 |
commit | 30c7c9e4de1bbd4d4cdc6f0c775d52f80a3103fb (patch) | |
tree | b786667d08f8cb48645d7637eee38db2afaeda09 | |
parent | ca0196f2e216eb25d9acfce4379f8530834736e8 (diff) |
Pass flags to allow domain undefine with NVRAM
Change-Id: I8365dd327d4bf7abebc72922e030b3049cd66de9
Signed-off-by: Dan Radez <dradez@redhat.com>
-rw-r--r-- | apex/clean.py | 2 |
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)) |