PR#3507: kojivmd: cleanup VMs with UNDEFINE_NVRAM
Merges #3507 https://pagure.io/koji/pull-request/3507
This commit is contained in:
commit
891fce1259
1 changed files with 1 additions and 1 deletions
|
|
@ -1069,7 +1069,7 @@ class VMTaskManager(TaskManager):
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
# Removed all the disks successfully, so undefine the VM
|
# Removed all the disks successfully, so undefine the VM
|
||||||
vm.undefine()
|
vm.undefineFlags(libvirt.VIR_DOMAIN_UNDEFINE_NVRAM)
|
||||||
self.logger.info('Cleaned up VM %s', vm_name)
|
self.logger.info('Cleaned up VM %s', vm_name)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue