mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 07:23:47 +02:00
parent
af942dc419
commit
45ca995dea
@ -139,6 +139,8 @@ class VirtualBoxVM(BaseVM):
|
|||||||
def create(self):
|
def create(self):
|
||||||
|
|
||||||
yield from self._get_system_properties()
|
yield from self._get_system_properties()
|
||||||
|
if "API version" not in self._system_properties:
|
||||||
|
raise VirtualBoxError("Can't access to VirtualBox API Version")
|
||||||
if parse_version(self._system_properties["API version"]) < parse_version("4_3"):
|
if parse_version(self._system_properties["API version"]) < parse_version("4_3"):
|
||||||
raise VirtualBoxError("The VirtualBox API version is lower than 4.3")
|
raise VirtualBoxError("The VirtualBox API version is lower than 4.3")
|
||||||
log.info("VirtualBox VM '{name}' [{id}] created".format(name=self.name, id=self.id))
|
log.info("VirtualBox VM '{name}' [{id}] created".format(name=self.name, id=self.id))
|
||||||
|
Loading…
Reference in New Issue
Block a user