mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-30 21:03:49 +02: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"]
|
"--register"]
|
||||||
|
|
||||||
result = self._execute("clonevm", args)
|
result = self._execute("clonevm", args)
|
||||||
|
|
||||||
|
args = [self._name,
|
||||||
|
"take",
|
||||||
|
"reset"]
|
||||||
|
|
||||||
|
result = self._execute("snapshot", args)
|
||||||
|
|
||||||
self._vmname = self._name
|
self._vmname = self._name
|
||||||
self._execute("setextradata", [self._vmname, "GNS3/Clone", "yes"])
|
self._execute("setextradata", [self._vmname, "GNS3/Clone", "yes"])
|
||||||
log.debug("cloned VirtualBox VM: {}".format(result))
|
log.debug("cloned VirtualBox VM: {}".format(result))
|
||||||
|
Loading…
Reference in New Issue
Block a user