mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Do not look for vboxwrapper on non Windows platforms.
This commit is contained in:
parent
a8d740ef21
commit
e0f0c98ffd
@ -60,7 +60,8 @@ class VirtualBox(IModule):
|
|||||||
|
|
||||||
def __init__(self, name, *args, **kwargs):
|
def __init__(self, name, *args, **kwargs):
|
||||||
|
|
||||||
# get the vboxwrapper location
|
# get the vboxwrapper location (only non-Windows platforms)
|
||||||
|
if not sys.platform.startswith("win"):
|
||||||
config = Config.instance()
|
config = Config.instance()
|
||||||
vbox_config = config.get_section_config(name.upper())
|
vbox_config = config.get_section_config(name.upper())
|
||||||
self._vboxwrapper_path = vbox_config.get("vboxwrapper_path")
|
self._vboxwrapper_path = vbox_config.get("vboxwrapper_path")
|
||||||
|
Loading…
Reference in New Issue
Block a user