mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-03-11 15:03:57 +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):
|
async def _refresh_vm_uuid(self):
|
||||||
|
|
||||||
vm_info = await self._get_vm_info()
|
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:
|
if not self._uuid:
|
||||||
raise VirtualBoxError("Could not find any UUID for VM '{}'".format(self._vmname))
|
raise VirtualBoxError("Could not find any UUID for VM '{}'".format(self._vmname))
|
||||||
if "memory" in vm_info:
|
if "memory" in vm_info:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user