View gist:fd03cdc1286c89aaf45a
#cloud-config | |
coreos: | |
etcd: | |
<% if @host.params['etcd_discovery_url'] -%> | |
discovery: <%= @host.params['etcd_discovery_url'] %> | |
<% end -%> | |
addr: <%= @host.ip %>:4001 | |
peer-addr: <%= @host.ip %>:7001 | |
units: | |
- name: etcd.service |