c12s-kubespray/roles/network_plugin/flannel/templates/flannel-options.conf.j2
2016-12-22 16:50:04 +01:00

6 lines
240 B
Django/Jinja

[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 }}"
{% endif %}