Last active
September 30, 2015 23:33
-
-
Save phaus/e52241b66576d4484f6f 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: "coreos1" | |
# include one or more SSH public keys | |
ssh_authorized_keys: | |
- ssh-rsa XXX | |
coreos: | |
units: | |
- name: systemd-networkd | |
command: stop | |
- name: 00-static.network | |
runtime: true | |
content: | | |
[Match] | |
Name=eth* | |
[Network] | |
Gateway=10.10.0.1 | |
Address=10.10.0.111/24 | |
DNS=8.8.8.8 | |
- name: systemd-networkd | |
command: start | |
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: "coreos2" | |
# include one or more SSH public keys | |
ssh_authorized_keys: | |
- ssh-rsa XXX | |
coreos: | |
units: | |
- name: systemd-networkd | |
command: stop | |
- name: 00-static.network | |
runtime: true | |
content: | | |
[Match] | |
Name=eth* | |
[Network] | |
Gateway=10.10.0.1 | |
Address=10.10.0.112/24 | |
DNS=8.8.8.8 | |
- name: systemd-networkd | |
command: start | |
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: "coreos3" | |
# include one or more SSH public keys | |
ssh_authorized_keys: | |
- ssh-rsa XXX | |
coreos: | |
units: | |
- name: systemd-networkd | |
command: stop | |
- name: 00-static.network | |
runtime: true | |
content: | | |
[Match] | |
Name=eth* | |
[Network] | |
Gateway=10.10.0.1 | |
Address=10.10.0.113/24 | |
DNS=8.8.8.8 | |
- name: systemd-networkd | |
command: start | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment