mirror of
https://github.com/GNS3/gns3-server
synced 2025-05-29 04:08:50 +00:00
Change message when VMware is not installed on Linux. Ref #326.
This commit is contained in:
parent
ac75977ae0
commit
b53f0e89ce
@ -170,11 +170,10 @@ class VMware(BaseManager):
|
|||||||
else:
|
else:
|
||||||
if sys.platform.startswith("darwin"):
|
if sys.platform.startswith("darwin"):
|
||||||
return # FIXME: no version checking on Mac OS X
|
return # FIXME: no version checking on Mac OS X
|
||||||
else:
|
|
||||||
vmware_path = VMware._get_linux_vmware_binary()
|
|
||||||
|
|
||||||
|
vmware_path = VMware._get_linux_vmware_binary()
|
||||||
if vmware_path is None:
|
if vmware_path is None:
|
||||||
raise VMwareError("VMware is not installed (vmware executable could not be found in $PATH)")
|
raise VMwareError("VMware is not installed (vmware or vmplayer executable could not be found in $PATH)")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
output = yield from subprocess_check_output(vmware_path, "-v")
|
output = yield from subprocess_check_output(vmware_path, "-v")
|
||||||
|
Loading…
Reference in New Issue
Block a user