Clean up some handling of restarting dead VMs

This commit is contained in:
2018-06-12 01:54:01 -04:00
parent dd2560c2f8
commit a87bf4bc4a
2 changed files with 11 additions and 19 deletions

View File

@ -54,6 +54,9 @@ class VMInstance:
def gethypervisor(self):
return self.hypervisor
def getdom(self):
return self.dom
# Start up the VM
def start_vm(self, xmlconfig):
ansiiprint.echo('Starting VM', '{}:'.format(self.domuuid), 'i')