calico uses --ip option

This commit is contained in:
Smaine Kahlouch
2016-02-01 15:53:23 +01:00
parent bf5582b01f
commit 779299de15
4 changed files with 8 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
# Description:
# Runs calico as a docker container
### END INIT INFO
set -a
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Calico-node Docker"

View File

@@ -0,0 +1,2 @@
DEFAULT_IPV4={{ip | default(ansible_default_ipv4.address) }}
ETCD_AUTHORITY=127.0.0.1:2379

View File

@@ -4,6 +4,7 @@
#
# chkconfig: 2345 95 95
# description: Daemon for calico-node (http://www.projectcalico.org/)
set -a
### BEGIN INIT INFO
# Provides: calico-node