mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 04:47:54 +00:00
Fixes path to vmnet-cli on Mac OS X.
This commit is contained in:
parent
a70775a238
commit
476e033a78
@ -75,9 +75,9 @@ def write_networking_file(version, pairs):
|
||||
if sys.platform.startswith("darwin"):
|
||||
if not os.path.exists("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli"):
|
||||
raise SystemExit("VMware Fusion is not installed in Applications")
|
||||
os.system("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli --configure")
|
||||
os.system("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli --stop")
|
||||
os.system("/Applications/VMware Fusion.app/Contents/Library/vmnet-cli --start")
|
||||
os.system(r"/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --configure")
|
||||
os.system(r"/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop")
|
||||
os.system(r"/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start")
|
||||
else:
|
||||
os.system("vmware-networks --stop")
|
||||
os.system("vmware-networks --start")
|
||||
|
Loading…
Reference in New Issue
Block a user