Commit 4d1e7216 by Guba Sándor

instance: added save() in __clean_up

parent 61b61637
...@@ -726,6 +726,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -726,6 +726,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
# Clear node and VNC port association # Clear node and VNC port association
self.node = None self.node = None
self.vnc_port = None self.vnc_port = None
self.save()
def redeploy(self, user=None, task_uuid=None): def redeploy(self, user=None, task_uuid=None):
"""Redeploy virtual machine with network """Redeploy virtual machine with network
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment