Browse Source

Merge pull request #648 from artem-panchenko/fix_calicoctl_node_run

Fix Calico jinja template (systemd)
pull/650/head
Bogdan Dobrelya 8 years ago
committed by GitHub
parent
commit
10b75d1d51
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/network_plugin/calico/templates/calico-node.service.j2

1
roles/network_plugin/calico/templates/calico-node.service.j2

@ -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 %}
{% endif %}
{% endif %}
Restart=always
RestartSec=10s

Loading…
Cancel
Save