Skip to content

Instantly share code, notes, and snippets.

View dnegstad's full-sized avatar

David Negstad dnegstad

  • Woodinville, WA
View GitHub Profile
@dnegstad
dnegstad / user-data-consul-server
Created January 26, 2016 16:58 — forked from bdclark/user-data-consul-server
CoreOS cloud-config to bootstrap consul cluster
#cloud-config
coreos:
etcd2:
# generate a token from https://discovery.etcd.io/new?size=3
discovery: https://discovery.etcd.io/<token>
advertise-client-urls: http://$private_ipv4:2379
initial-advertise-peer-urls: http://$private_ipv4:2380
listen-client-urls: http://0.0.0.0:2379
listen-peer-urls: http://$private_ipv4:2380