From 9615547f9d1bdb0f8b217d170c709bbcc1c3b682 Mon Sep 17 00:00:00 2001 From: jmgao Date: Fri, 29 Dec 2017 18:48:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcalico=E5=A4=9A=E7=BD=91?= =?UTF-8?q?=E5=8D=A1IP=E9=80=89=E5=8F=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/calico/templates/calico-node.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/calico/templates/calico-node.service.j2 b/roles/calico/templates/calico-node.service.j2 index 1beb4db..fbe34d0 100644 --- a/roles/calico/templates/calico-node.service.j2 +++ b/roles/calico/templates/calico-node.service.j2 @@ -21,7 +21,7 @@ ExecStart={{ bin_dir }}/docker run --net=host --privileged --name=calico-node \ -e FELIX_LOGSEVERITYSCREEN=info \ -e FELIX_IPINIPMTU=1440 \ -e FELIX_HEALTHENABLED=true \ - -e IP= \ + -e IP={{ NODE_IP }} \ -v /etc/calico/ssl:/etc/calico/ssl \ -v /var/run/calico:/var/run/calico \ -v /lib/modules:/lib/modules \