Skip to content

Commit

Permalink
Disable --ip-masq for vagrand.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchen1107 committed Oct 16, 2014
1 parent baf3bea commit a8a036a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/vagrant/provision-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ip link set dev ${DOCKER_BRIDGE} up
ovs-vsctl set Bridge ${OVS_SWITCH} stp_enable=true
# modify the docker service file such that it uses the kube docker bridge and not its own
sed -ie "s/ExecStart=\/usr\/bin\/docker -d/ExecStart=\/usr\/bin\/docker -d -b=${DOCKER_BRIDGE} --iptables=false/g" /usr/lib/systemd/system/docker.service
sed -ie "s/ExecStart=\/usr\/bin\/docker -d/ExecStart=\/usr\/bin\/docker -d -b=${DOCKER_BRIDGE} --iptables=false --ip-masq=false/g" /usr/lib/systemd/system/docker.service
systemctl daemon-reload
systemctl restart docker.service
Expand Down

0 comments on commit a8a036a

Please sign in to comment.