calico-node: added NODENAME var

This commit is contained in:
nhaveric 2017-04-07 16:58:23 +02:00
parent 9ca7c89e78
commit fec5bfde1f

View file

@ -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} \