Skip to content

Instantly share code, notes, and snippets.

@aaronfeng
Created October 7, 2014 18:15
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 aaronfeng/379c8de36228bd516c1c to your computer and use it in GitHub Desktop.
Save aaronfeng/379c8de36228bd516c1c to your computer and use it in GitHub Desktop.
cloud-init for Digital Ocean
#cloud-config
coreos:
etcd:
discovery: https://discovery.etcd.io/<token>
addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
fleet:
public-ip: $private_ipv4 # used for fleetctl ssh command
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