Last active
August 29, 2015 14:02
-
-
Save sybeck2k/a1efdd7ff8597e496512 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
coreos: | |
etcd: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new | |
discovery: https://discovery.etcd.io/782a1d6717e57839b5238dda82759736 | |
# multi-region and multi-cloud deployments need to use $public_ipv4 | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 | |
units: | |
- name: etcd.service | |
command: start | |
- name: fleet.service | |
runtime: yes | |
command: start | |
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