mirror of
https://github.com/GNS3/gns3-server
synced 2024-10-31 20:58:56 +00:00
Handle API version key in VirtualBox 7. Fixes #2266
This commit is contained in:
parent
df9d642a56
commit
77744cc31d
@ -80,6 +80,9 @@ class VirtualBoxGNS3VM(BaseGNS3VM):
|
||||
except ValueError:
|
||||
continue
|
||||
self._system_properties[name.strip()] = value.strip()
|
||||
if "API Version" in self._system_properties:
|
||||
# API version is not consistent between VirtualBox versions, the key is named "API Version" in VirtualBox 7
|
||||
self._system_properties["API version"] = self._system_properties.pop("API Version")
|
||||
|
||||
async def _check_requirements(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user