1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 00:38:10 +00:00

Merge pull request #63 from Raizo62/master

Add snapshot named reset to linked cloned Vbox
This commit is contained in:
Jeremy Grossmann 2015-01-11 17:16:16 -07:00
commit 14cc6d414f

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))