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:
parent
29896151e7
commit
cbbb89f69c
@ -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