mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
Update the VM name in VirtualBox for linked clones.
This commit is contained in:
parent
2bfe098866
commit
e6e83ffa8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user