Last active
July 29, 2016 14:52
-
-
Save rondinelisaad/76a8796c2fa7a738484203ae15d86476 to your computer and use it in GitHub Desktop.
user-data-node1
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 | |
users: | |
- name: "core" | |
passwd: $6$rounds=4096$Y63druuqdw4NQcqy$tAWhdc.UuWia2/HP1IblRJ2IMABi.1XLOq.lmjJ6Znmdr2lQ.aBZulcMDyvFn.ivM.gtf4mppn.JvbMC7UXje0 | |
coreos: | |
etcd2: | |
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 | |
advertise-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 | |
initial-cluster: etcdserver=http://192.168.169.55:2380 | |
proxy: on | |
fleet: | |
metadata: "role=master" | |
flannel: | |
units: | |
- name: etcd2.service | |
command: start | |
- name: fleet.service | |
command: start | |
- name: flanneld.service | |
drop-ins: | |
- name: 50-network-config.conf | |
content: | | |
[Service] | |
ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{ "Network": "10.1.0.0/16" }' | |
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