default docker template condition

pull/15/head
Smaine Kahlouch 2015-11-16 22:15:43 +01:00
parent 8eef0db3ec
commit d6a790ec46
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
#DOCKER="/usr/local/bin/docker" #DOCKER="/usr/local/bin/docker"
# Use DOCKER_OPTS to modify the daemon startup options. # Use DOCKER_OPTS to modify the daemon startup options.
{% if kube_network_plugin is defined and kube_network_plugin == "calico" %} #{% if kube_network_plugin is defined and kube_network_plugin == "calico" %}
DOCKER_OPTS="--bridge=cbr0 --iptables=false --ip-masq=false" #DOCKER_OPTS="--bridge=cbr0 --iptables=false --ip-masq=false"
{% endif %} #{% endif %}
# If you need Docker to use an HTTP proxy, it can also be specified here. # If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://127.0.0.1:3128/" #export http_proxy="http://127.0.0.1:3128/"