1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Update the VM name in VirtualBox for linked clones.

This commit is contained in:
Jeremy 2015-01-14 16:48:32 -07:00
parent 2bfe098866
commit e6e83ffa8a

View File

@ -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