From fec5bfde1f546870d7fd724a66bebd6f01d97770 Mon Sep 17 00:00:00 2001 From: nhaveric Date: Fri, 7 Apr 2017 16:58:23 +0200 Subject: [PATCH] calico-node: added NODENAME var --- roles/network_plugin/calico/templates/calico-node.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/network_plugin/calico/templates/calico-node.service.j2 b/roles/network_plugin/calico/templates/calico-node.service.j2 index e84ceaba0..9194aa973 100644 --- a/roles/network_plugin/calico/templates/calico-node.service.j2 +++ b/roles/network_plugin/calico/templates/calico-node.service.j2 @@ -9,6 +9,7 @@ ExecStartPre=-{{ docker_bin_dir }}/docker rm -f calico-node ExecStart={{ docker_bin_dir }}/docker run --net=host --privileged \ --name=calico-node \ -e HOSTNAME=${CALICO_HOSTNAME} \ + -e NODENAME=${CALICO_HOSTNAME} \ -e IP=${CALICO_IP} \ -e IP6=${CALICO_IP6} \ -e CALICO_NETWORKING_BACKEND=${CALICO_NETWORKING_BACKEND} \