Skip to content

Instantly share code, notes, and snippets.

@ruebenramirez
Created April 2, 2015 21:03
Show Gist options
  • Save ruebenramirez/8c288d6fa58424b3ac3d to your computer and use it in GitHub Desktop.
Save ruebenramirez/8c288d6fa58424b3ac3d to your computer and use it in GitHub Desktop.
#cloud-config
hostname: coreos0
ssh_authorized_keys:
coreos:
etcd:
discovery: https://discovery.etcd.io/0a83a3865b073785c3abff511b72a126
addr: 10.10.1.3:4001
peer-addr: 10.10.1.3:7001
fleet:
public-ip: 10.10.1.3
flannel:
interface: 10.10.1.3
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
- 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