Code Review
/
apex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
992e5d6
)
Merge "Pass flags to allow domain undefine with NVRAM"
author
Tim Rozet
<trozet@redhat.com>
Wed, 4 Oct 2017 18:06:35 +0000
(18:06 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Wed, 4 Oct 2017 18:06:35 +0000
(18:06 +0000)
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))