mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 16:58:28 +00:00
parent
9480065b28
commit
720adb7721
@ -206,6 +206,7 @@ class VirtualBoxVM(BaseNode):
|
|||||||
"""
|
"""
|
||||||
Fix the VM uuid in the case of linked clone
|
Fix the VM uuid in the case of linked clone
|
||||||
"""
|
"""
|
||||||
|
if os.path.exists(self._linked_vbox_file()):
|
||||||
tree = ET.parse(self._linked_vbox_file())
|
tree = ET.parse(self._linked_vbox_file())
|
||||||
machine = tree.getroot().find("{http://www.virtualbox.org/}Machine")
|
machine = tree.getroot().find("{http://www.virtualbox.org/}Machine")
|
||||||
machine.set("uuid", "{" + self.id + "}")
|
machine.set("uuid", "{" + self.id + "}")
|
||||||
|
Loading…
Reference in New Issue
Block a user