Last active
August 29, 2015 13:57
-
-
Save mopemope/9837732 to your computer and use it in GitHub Desktop.
coreos cloud-config.yml
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 | |
hostname: coreos3 | |
coreos: | |
etcd: | |
discovery: http://192.168.2.28:4001/v2/keys/cluster | |
addr: 192.168.2.52:4001 | |
peer-addr: 192.168.2.52:7001 | |
bind-addr: 0.0.0.0 | |
units: | |
- name: etcd.service | |
command: start | |
- name: docker.service | |
command: start | |
- name: fleet.service | |
command: start | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3N... | |
write_files: | |
- path: /etc/systemd/network/10-static.network | |
content: | | |
[Match] | |
Name=ens* | |
[Network] | |
Address=192.168.2.52/24 | |
Gateway=192.168.2.1 | |
DNS=8.8.8.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment