From e6e83ffa8a0555288caf1e6d11b973fbddbc2e00 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 14 Jan 2015 16:48:32 -0700 Subject: [PATCH] Update the VM name in VirtualBox for linked clones. --- gns3server/modules/virtualbox/virtualbox_vm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gns3server/modules/virtualbox/virtualbox_vm.py b/gns3server/modules/virtualbox/virtualbox_vm.py index e50ab9cb..22294edf 100644 --- a/gns3server/modules/virtualbox/virtualbox_vm.py +++ b/gns3server/modules/virtualbox/virtualbox_vm.py @@ -454,6 +454,8 @@ class VirtualBoxVM(object): """ log.info("VirtualBox VM {name} [id={id}] has set the VM name to {vmname}".format(name=self._name, id=self._id, vmname=vmname)) + if self._linked_clone: + self._modify_vm('--name "{}"'.format(vmname)) self._vmname = vmname @property