Skip to content

Instantly share code, notes, and snippets.

@ryands
Created May 26, 2016 19:38
Show Gist options
  • Save ryands/510117a6fab1d5ec92edf117918398c5 to your computer and use it in GitHub Desktop.
Save ryands/510117a6fab1d5ec92edf117918398c5 to your computer and use it in GitHub Desktop.
example cloud-config
#cloud-config
coreos:
etcd2:
discovery: https://discovery.etcd.io/<some-discovery-token>
advertise-client-urls: http://\$private_ipv4:2379,http://\$private_ipv4:4001
initial-advertise-peer-urls: http://\$private_ipv4:2380
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
listen-peer-urls: http://\$private_ipv4:2380
units:
- name: etcd2.service
command: start
- name: fleet.service
command: start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment