mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
VMnet manager on Linux: check that VMware has been installed.
This commit is contained in:
parent
f761fb77f8
commit
1ebc287b5f
@ -106,6 +106,8 @@ def main():
|
||||
raise SystemExit(e)
|
||||
|
||||
vmnet_range = args.range if args.range is not None else DEFAULT_RANGE
|
||||
if not os.path.exists(VMWARE_NETWORKING_FILE):
|
||||
raise SystemExit("VMware Player or Workstation is not installed")
|
||||
if not os.access(VMWARE_NETWORKING_FILE, os.W_OK):
|
||||
raise SystemExit("You must run this script as root")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user