1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-30 20:28:08 +00:00

Add snapshot named reset to linked cloned Vbox

This commit is contained in:
Raizo62 2015-01-11 12:22:59 +00:00
parent 29896151e7
commit cbbb89f69c

View File

@ -778,6 +778,13 @@ class VirtualBoxVM(object):
"--register"]
result = self._execute("clonevm", args)
args = [self._name,
"take",
"reset"]
result = self._execute("snapshot", args)
self._vmname = self._name
self._execute("setextradata", [self._vmname, "GNS3/Clone", "yes"])
log.debug("cloned VirtualBox VM: {}".format(result))