Created
September 28, 2014 01:59
-
-
Save kelseyhightower/b124e8fd578682b34b44 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
hostname: network | |
coreos: | |
units: | |
- name: static.network | |
command: start | |
content: | | |
[Match] | |
Name=eno16777736 | |
[Network] | |
Address=172.16.158.10/24 | |
DNS=172.16.158.2 | |
Gateway=172.16.158.2 | |
- name: etcd.service | |
mask: true | |
- name: fleet.service | |
mask: true | |
- name: docker-tcp.socket | |
command: start | |
enable: yes | |
content: | | |
[Unit] | |
Description=Docker Socket for the API | |
[Socket] | |
ListenStream=2375 | |
BindIPv6Only=both | |
Service=docker.service | |
[Install] | |
WantedBy=sockets.target | |
- name: enable-docker-tcp.service | |
command: start | |
content: | | |
[Unit] | |
Description=Enable the Docker Socket for the API | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/systemctl enable docker-tcp.socket | |
update: | |
group: alpha | |
reboot-strategy: off | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHo+5nVpxDhnWBPhEuQ7D7ZYELvA5+fPEWfHmMUwBdW069FSfX1LtbVAUKW7NGMfCxTijQMfvmFt7i+o28uqrVGN+xlDdkKTarPYO/Ux6Rukw0D5RZLVDVdRIOV8Si26pkFp4ezs1NFnCFsPTXD8U4cQ1lok//x248oKGsB4ZWuRNf4PCaIdXDveXdQRbaV5SDo9JEt9VkmfSraH5JENguP51RhFJYzWQAB1QbRZrHYUfZbE+pb/XDTdSPidfRCvss9fDrrhviZjv1Gr8C9jbmSGRB8pKwGC/GWV/mj8nYEY1K3/0c/N9NNIPtmvNkQjq7eGsSUf0cM8ZbwWugr8cB kelseyhightower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment