Beispiel #1
0
 def undefine(self):
     """
     Undefine the VM.
     """
     try:
         virsh.undefine(self.name, uri=self.connect_uri)
     except error.CmdError, detail:
         logging.error("Undefined VM %s failed:\n%s", self.name, detail)
         return False
Beispiel #2
0
 def undefine(self):
     """
     Undefine the VM.
     """
     return virsh.undefine(self.name, uri=self.connect_uri)