mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-31 05:13:49 +02: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
|
return
|
||||||
else:
|
else:
|
||||||
if sys.platform.startswith("darwin"):
|
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
|
return # FIXME: no version checking on Mac OS X
|
||||||
|
|
||||||
vmware_path = VMware._get_linux_vmware_binary()
|
vmware_path = VMware._get_linux_vmware_binary()
|
||||||
|
Loading…
Reference in New Issue
Block a user