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