mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-30 20:28:08 +00:00
Fixes bug with vmrun VIX path.
This commit is contained in:
parent
f2e5b8756a
commit
1e04e1e123
@ -80,7 +80,7 @@ class VMware(BaseManager):
|
|||||||
vmrun_vix = os.path.expandvars(r"%PROGRAMFILES(X86)%\VMware\VMware VIX\vmrun.exe")
|
vmrun_vix = os.path.expandvars(r"%PROGRAMFILES(X86)%\VMware\VMware VIX\vmrun.exe")
|
||||||
if os.path.exists(vmrun_ws):
|
if os.path.exists(vmrun_ws):
|
||||||
vmrun_path = vmrun_ws
|
vmrun_path = vmrun_ws
|
||||||
elif os.path.exist(vmrun_vix):
|
elif os.path.exists(vmrun_vix):
|
||||||
vmrun_path = vmrun_vix
|
vmrun_path = vmrun_vix
|
||||||
elif sys.platform.startswith("darwin"):
|
elif sys.platform.startswith("darwin"):
|
||||||
vmrun_path = "/Applications/VMware Fusion.app/Contents/Library/vmrun"
|
vmrun_path = "/Applications/VMware Fusion.app/Contents/Library/vmrun"
|
||||||
|
Loading…
Reference in New Issue
Block a user