Code Review
/
apex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
189b69a
)
Pass flags to allow domain undefine with NVRAM
63/44263/2
author
Dan Radez
<dradez@redhat.com>
Tue, 3 Oct 2017 18:25:04 +0000
(14:25 -0400)
committer
Tim Rozet
<trozet@redhat.com>
Fri, 6 Oct 2017 15:00:44 +0000
(15:00 +0000)
Change-Id: I8365dd327d4bf7abebc72922e030b3049cd66de9
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit
30c7c9e4de1bbd4d4cdc6f0c775d52f80a3103fb
)
apex/clean.py
patch
|
blob
|
history
diff --git
a/apex/clean.py
b/apex/clean.py
index
0b1be86
..
f56287e
100644
(file)
--- 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.undefine
Flags(libvirt.VIR_DOMAIN_UNDEFINE_NVRAM
)
# delete storage volume
try:
stgvol = pool.storageVolLookupByName("{}.qcow2".format(vm))