mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-25 01:38:08 +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))
|
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
|
self._vmname = vmname
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user