mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-30 17:46:59 +00:00
Fix tests.
This commit is contained in:
parent
4075bbd703
commit
05b949930d
@ -177,7 +177,7 @@ class VirtualBoxVM(BaseNode):
|
||||
async def _refresh_vm_uuid(self):
|
||||
|
||||
vm_info = await self._get_vm_info()
|
||||
self._uuid = vm_info.get("UUID")
|
||||
self._uuid = vm_info.get("UUID", self._uuid)
|
||||
if not self._uuid:
|
||||
raise VirtualBoxError("Could not find any UUID for VM '{}'".format(self._vmname))
|
||||
if "memory" in vm_info:
|
||||
|
Loading…
Reference in New Issue
Block a user