diff --git a/gns3server/modules/virtualbox/virtualbox_vm.py b/gns3server/modules/virtualbox/virtualbox_vm.py index 2ff943f5..13aca08e 100644 --- a/gns3server/modules/virtualbox/virtualbox_vm.py +++ b/gns3server/modules/virtualbox/virtualbox_vm.py @@ -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))