Skip to content

Instantly share code, notes, and snippets.

@BrianHicks
Created April 30, 2014 15:28
Show Gist options
  • Save BrianHicks/795fa3de3dd30437cedc to your computer and use it in GitHub Desktop.
Save BrianHicks/795fa3de3dd30437cedc to your computer and use it in GitHub Desktop.
cloud config sample
#cloud-config
coreos:
etcd:
#discovery: https://discovery.etcd.io/203df1b81a502546048a45336d7d669b
addr: $public_ipv4:4001
peer-addr: $public_ipv4:7001
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
write_files:
- path: /etc/network.env
content: |
PUBLIC_IPV4="$public_ipv4"
PRIVATE_IPV4="$private_ipv4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment