1
0
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:
grossmj 2015-07-09 10:32:23 -06:00
parent f2e5b8756a
commit 1e04e1e123

View File

@ -80,7 +80,7 @@ class VMware(BaseManager):
vmrun_vix = os.path.expandvars(r"%PROGRAMFILES(X86)%\VMware\VMware VIX\vmrun.exe")
if os.path.exists(vmrun_ws):
vmrun_path = vmrun_ws
elif os.path.exist(vmrun_vix):
elif os.path.exists(vmrun_vix):
vmrun_path = vmrun_vix
elif sys.platform.startswith("darwin"):
vmrun_path = "/Applications/VMware Fusion.app/Contents/Library/vmrun"