Skip to content

Instantly share code, notes, and snippets.

@endyman
endyman / gist:fd03cdc1286c89aaf45a
Created Nov 3, 2014
CoreOS cloud-config with docker tcp socket
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