Commit 4db4dfd3 by Bach Dániel

vm: renew vm on wake up

parent e73dbc54
......@@ -1019,6 +1019,9 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel,
for net in self.interface_set.all():
net.deploy()
# Renew vm
self.renew(which='both', base_activity=act)
def wake_up_async(self, user=None):
"""Execute wake_up asynchronously.
"""
......
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