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:
ca0196f
)
Pass flags to allow domain undefine with NVRAM
31/44131/1
author
Dan Radez
<dradez@redhat.com>
Tue, 3 Oct 2017 18:25:04 +0000
(14:25 -0400)
committer
Dan Radez
<dradez@redhat.com>
Tue, 3 Oct 2017 18:25:04 +0000
(14:25 -0400)
Change-Id: I8365dd327d4bf7abebc72922e030b3049cd66de9
Signed-off-by: Dan Radez <dradez@redhat.com>
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))