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:
parent
e34c266ee1
commit
f73b288a28
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user