Skip to content

Instantly share code, notes, and snippets.

@siliconcow
Created June 12, 2014 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siliconcow/d3e2caafb907b8b81256 to your computer and use it in GitHub Desktop.
Save siliconcow/d3e2caafb907b8b81256 to your computer and use it in GitHub Desktop.
broken cloud init
#cloud-config
coreos:
update:
reboot-strategy: off
etcd:
# generate a new token for each unique cluster from https://discovery.etcd.io/new
#discovery: https://discovery.etcd.io/92c378a361f5727086e5a90c94a99b4a
addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
ssh_authorized_keys:
# include one or more SSH public keys
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDFBl6jTJgiou85auuNoza7FFfzUSbbq5Oo6Yz7ZKzrNNn60kBdiZwji7FSaKi+DoQ+B12TRiyuL9eHSKhx8H/q0v5y7GKRRX1vdbumOyUcw5A8IYgZmlCfV5lWQywZT2pyVfGer2igcP7TUTsjWDKgCxDYfNrOfG8w+O2aW91mFQ==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment