Last active
November 7, 2015 13:29
-
-
Save yujiod/afcd8d88a88176832c12 to your computer and use it in GitHub Desktop.
cloud-config.yml for Mac mini
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: coreos | |
coreos: | |
update: | |
reboot-strategy: best-effort | |
etcd: | |
discovery: https://discovery.etcd.io/{HASH} | |
addr: 192.168.10.9:4001 | |
peer-addr: 192.168.10.9:7001 | |
bind-addr: 0.0.0.0 | |
fleet: | |
public_ip: 192.168.10.9 | |
units: | |
- name: etcd.service | |
command: start | |
- name: fleet.service | |
command: start | |
- name: docker.service | |
command: start | |
- name: timezone.service | |
command: start | |
content: | | |
[Unit] | |
Description=timezone | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/bin/ln -sf ../usr/share/zoneinfo/Japan /etc/localtime | |
- name: 10-static.network | |
runtime: no | |
content: | | |
[Match] | |
Name=enp4s0f0 | |
[Network] | |
Address=192.168.10.9/24 | |
Gateway=192.168.10.1 | |
DNS=192.168.10.1 | |
ssh_authorized_keys: | |
- 'ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIBjNpexyc9Vreai2M8aaCVUrto/51y7QZkLZI8H3lBWdcVOSQhmWYiHgi0pxn6m4Hd1u0cipcXTpWJCNc+hol4ZyTd45UjWbzuAbUSLS4j/XkM+1yVREkZfboxWxEEiEECtSMlmR/ISKf4nFZETs8wZAI6JXNW+VqVyQB2vfEUiyw==' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment