parent
725f9ea3bd
commit
8a4fd50fb7
1 changed files with 4 additions and 0 deletions
|
@ -1,2 +1,6 @@
|
||||||
[Service]
|
[Service]
|
||||||
|
{% if ansible_os_family == "CoreOS" %}
|
||||||
|
Environment="DOCKER_OPT_BIP=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
||||||
|
{% else %}
|
||||||
Environment="DOCKER_NETWORK_OPTIONS=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
Environment="DOCKER_NETWORK_OPTIONS=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue