diff --git a/etcd/templates/etcd.j2 b/etcd/templates/etcd.j2 index 882b5060..f6d886f8 100644 --- a/etcd/templates/etcd.j2 +++ b/etcd/templates/etcd.j2 @@ -1,7 +1,7 @@ ETCD_NAME="{{ etcd_local_name }}" ETCD_DATA_DIR="{{ etcd_datadir }}" ETCD_LOG_OUTPUTS="stdout" -ETCD_LISTEN_PEER_URLS="http://{{ etcd_peer_hosts }}:{{ etcd_peer_port }}" +ETCD_LISTEN_PEER_URLS="http://{{ etcd_listen_ip }}:{{ etcd_peer_port }}" ETCD_LISTEN_CLIENT_URLS="http://localhost:{{ etcd_client_port }},http://{{ etcd_listen_ip }}:{{ etcd_client_port }}" ETCD_INITIAL_ADVERTISE_PEER_URLS="http://{{ etcd_listen_ip }}:{{ etcd_peer_port }}" ETCD_INITIAL_CLUSTER="{{ etcd_initial_cluster }},"