1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-11 16:41:04 +00:00

Check if VMware Fusion is correctly installed when retrieving the VM list.

This commit is contained in:
grossmj 2016-02-20 10:59:06 -07:00
parent e34c266ee1
commit f73b288a28

View File

@ -161,6 +161,8 @@ class VMware(BaseManager):
return
else:
if sys.platform.startswith("darwin"):
if not os.path.isdir("/Applications/VMware Fusion.app"):
raise VMwareError("VMware Fusion is not installed")
return # FIXME: no version checking on Mac OS X
vmware_path = VMware._get_linux_vmware_binary()