diff --git a/VMInstance.py b/VMInstance.py index bb5c35ac..ad73b8d5 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -35,6 +35,7 @@ class VMInstance: try: dom = conn.createXML(xmlconfig, 0) except: + dom = None print('Failed to create domain %s' % self.domuuid) if dom == None: