Set advertise-client-urls value in compute host etcd config (required due to change in etcd version, to 2.0.11, in recent Calico release).

Change-Id: I8a793f6e77618d16d01ab6277f9627fadcf40e26
This commit is contained in:
Emma Gordon 2015-06-05 16:27:46 +01:00
parent a25d0b87de
commit bbfa58c3a0
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ mv tmp /etc/init/etcd.conf
cat << EXEC_CMD >> /etc/init/etcd.conf
exec /usr/bin/etcd -proxy on \\
-listen-client-urls http://127.0.0.1:4001 \\
-advertise-client-urls http://127.0.0.1:7001 \\
-initial-cluster controller=http://${controller_node_address}:2380
EXEC_CMD
service etcd start