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:
commit
14cc6d414f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user