Fix the handling a bit
This commit is contained in:
parent
6e8bfd5741
commit
5db8ae6b7d
|
@ -35,6 +35,7 @@ class VMInstance:
|
||||||
try:
|
try:
|
||||||
dom = conn.createXML(xmlconfig, 0)
|
dom = conn.createXML(xmlconfig, 0)
|
||||||
except:
|
except:
|
||||||
|
dom = None
|
||||||
print('Failed to create domain %s' % self.domuuid)
|
print('Failed to create domain %s' % self.domuuid)
|
||||||
|
|
||||||
if dom == None:
|
if dom == None:
|
||||||
|
|
Loading…
Reference in New Issue