Skip to content

Instantly share code, notes, and snippets.

@greyhoundforty
Created October 7, 2015 17:42
Show Gist options
  • Save greyhoundforty/0a86adcc4b209131d12f to your computer and use it in GitHub Desktop.
Save greyhoundforty/0a86adcc4b209131d12f to your computer and use it in GitHub Desktop.
cloud-config.yml
#cloud-config
coreos:
etcd2:
discovery: https://discovery.etcd.io/<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