Skip to content

Commit

Permalink
Fix Flannel network on CoreOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Genti Topija committed Dec 15, 2016
1 parent 725f9ea commit 8a4fd50
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[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 %}

0 comments on commit 8a4fd50

Please sign in to comment.