c12s-kubespray/roles/network_plugin/flannel/templates/flannel-options.conf.j2

7 lines
271 B
Text
Raw Normal View History

2016-11-04 21:40:14 +00:00
[Service]
{% if ansible_os_family in ["CoreOS", "Container Linux by CoreOS"] %}
Environment="DOCKER_OPT_BIP=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
{% else %}
2016-11-04 21:40:14 +00:00
Environment="DOCKER_NETWORK_OPTIONS=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
{% endif %}