Merge pull request #648 from artem-panchenko/fix_calicoctl_node_run

Fix Calico jinja template (systemd)
This commit is contained in:
Bogdan Dobrelya 2016-11-24 18:33:34 +01:00 committed by GitHub
commit 91cc141662

View file

@ -20,6 +20,7 @@ ExecStart={{ bin_dir }}/calicoctl node run --ip={{ip | default(ansible_default_i
ExecStart={{ bin_dir }}/calicoctl node run --ip={{ip | default(ansible_default_ipv4.address) }} --node-image={{ calico_node_image_repo }}:{{ calico_node_image_tag }} {% if calico_network_backend is defined %}--backend={{calico_network_backend }}{% endif %} ExecStart={{ bin_dir }}/calicoctl node run --ip={{ip | default(ansible_default_ipv4.address) }} --node-image={{ calico_node_image_repo }}:{{ calico_node_image_tag }} {% if calico_network_backend is defined %}--backend={{calico_network_backend }}{% endif %}
{% endif %} {% endif %}
{% endif %} {% endif %}
Restart=always Restart=always
RestartSec=10s RestartSec=10s