Skip to content

Instantly share code, notes, and snippets.

@jonaslejon
Created June 11, 2014 10:25
Show Gist options
  • Save jonaslejon/e1483f0fd644c93ab41b to your computer and use it in GitHub Desktop.
Save jonaslejon/e1483f0fd644c93ab41b to your computer and use it in GitHub Desktop.
userdata = """
#cloud-config
coreos:
etcd:
# generate a new token for each unique cluster from https://discovery.etcd.io/new
discovery: https://discovery.etcd.io/my_unique_token
# multi-region and multi-cloud deployments need to use $public_ipv4
addr: $public_ipv4:4001
peer-addr: $public_ipv4:7001
units:
- name: etcd.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