Update the VM name in VirtualBox for linked clones.

This commit is contained in:
Jeremy committed 2015-01-14 16:48:32 -07:00
1 parent 2bfe098866
commit e6e83ffa8a
1 file changed
+2
@@ -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