Skip to content

Instantly share code, notes, and snippets.

@tristanz
Created April 15, 2014 04:07
Show Gist options
  • Save tristanz/10701252 to your computer and use it in GitHub Desktop.
Save tristanz/10701252 to your computer and use it in GitHub Desktop.
#cloud-config
coreos:
etcd:
addr: $public_ipv4:4001
peer-addr: $public_ipv4:7001
peers: 172.17.8.101:7001,172.17.8.101:7002
units:
- name: etcd.service
command: start
- name: docker.service
command: start
- name: fleet.service
command: start
runtime: no
content: |
[Unit]
Description=fleet
[Service]
Environment=FLEET_PUBLIC_IP=$public_ipv4
ExecStart=/usr/bin/fleet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment