coreos/azure: Pass --local to weave, as docker is not running yet

This commit is contained in:
Ilya Dmitrichenko 2015-04-22 15:37:13 +01:00
parent d8f839bb72
commit 55efa3f400

View File

@ -193,7 +193,7 @@ coreos:
[Service] [Service]
Type=oneshot Type=oneshot
EnvironmentFile=/etc/weave.%H.env EnvironmentFile=/etc/weave.%H.env
ExecStart=/opt/bin/weave create-bridge ExecStart=/opt/bin/weave --local create-bridge
ExecStart=/usr/bin/ip addr add dev weave $BRIDGE_ADDRESS_CIDR ExecStart=/usr/bin/ip addr add dev weave $BRIDGE_ADDRESS_CIDR
ExecStart=/usr/bin/ip route add $BREAKOUT_ROUTE dev weave scope link ExecStart=/usr/bin/ip route add $BREAKOUT_ROUTE dev weave scope link
ExecStart=/usr/bin/ip route add 224.0.0.0/4 dev weave ExecStart=/usr/bin/ip route add 224.0.0.0/4 dev weave