1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Merge pull request #28 from kitematic/installer_fix

Fixing installer bug if the route doesnt exist.
This commit is contained in:
Sean Li
2014-09-02 00:19:10 -07:00

View File

@@ -35,5 +35,5 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
</plist>" > /Library/LaunchAgents/com.kitematic.route.plist
# Add entries to routing table for Kitematic VM
/sbin/route delete -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY
/sbin/route delete -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY > /dev/null 2>&1 || true
/sbin/route -n add -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY