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