Merge pull request #170 from philips/etcd-listen-on-local

fix(dev-db/etcd): listen on 0.0.0.0:4001
This commit is contained in:
Brandon Philips 2013-08-22 10:08:26 -07:00
commit f8cc3c1d1a
2 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ BOOTSTRAP="/var/run/etcd/bootstrap.config"
[ ! -e $BOOTSTRAP ] && echo bootstrap config missing && exit 1
CLUSTER_ARGS="-n $MY_IP -c $MY_IP:4001 -s $MY_IP:7001"
CLUSTER_ARGS="-n $MY_IP -c 0.0.0.0:4001 -s 0.0.0.0:7001"
# strip blank lines
IPS=$(grep -v $MY_IP $BOOTSTRAP|grep -v '^\n$' |sed 's/$/:7001/'|tr '\n' ','|sed 's/^,//'|sed 's/,$//')