Last active
August 29, 2015 14:04
-
-
Save joshuacalloway/3b0ebfc03b2a3eb14b1c to your computer and use it in GitHub Desktop.
cloud-config
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 | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCfAoOymBIL1VuLdaYmyj5NiSUADcodl0Q61LjZ5Et8xCdww/TqeYKY5mcsza1A3XTDKqM9gDqzkRHzCSolh/nTOh5RoEjgJnyTIFlVgz85N2N6ylh0urWf4WGZkqSzutKmzXU9bo/rnqWbJXVahBY+99rt+27aVl2i9Qbft4CFDxHrwHrphLyrwEPIJeBdOT9fivU0d/4uvhnaR2FEyolW38pmKOy5coJmAQXWJXVePJQ5vc7jiqt9IKgYqa6mjpPsblgaOLOhi8aArrA/luHd3bJ6QQ9C4UPX9JyZKId+dvPFzqdEvx/nLSX881p0ekFGFI9+pkXpnHIDY9t21OgR | |
groups: | |
coreos: | |
fleet: | |
public-ip: 10.32.219.85 | |
metadata: env=alpha | |
etcd: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new | |
# WARNING: replace each time you 'vagrant destroy' | |
discovery: https://discovery.etcd.io/72df8c2b62f7f10cdad3f1768f79d983 | |
addr: 10.32.219.85:4001 | |
peer-addr: 10.32.219.85:7001 | |
units: | |
- name: etcd.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 | |
- name: docker-tcp.socket | |
command: start | |
enable: true | |
content: | | |
[Unit] | |
Description=Docker Socket for the API | |
[Socket] | |
ListenStream=2375 | |
Service=docker.service | |
BindIPv6Only=both | |
[Install] | |
WantedBy=sockets.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment