Last active
November 8, 2015 03:15
-
-
Save onodai145/04d16057c8176dfc4503 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: CoreOS | |
coreos: | |
units: | |
# ネットワーク設定 | |
- name: 10-static.network | |
runtime: no | |
content: | | |
[Match] | |
Name=enp0s25 # 環境により変化 | |
[Network] | |
Address=x.x.x.x/x | |
Gateway=x.x.x.x | |
DNS=x.x.x.x | |
users: | |
# 追加したいユーザ名を指定 | |
- name: "user" | |
# openssl passed -1 {yourpassword} の結果を貼り付け | |
passwd: "$6$5s2u6/jR$un0AvWnqilcgaNB3Mkxd5yYv6mTlWfOoCYHZmfi3LDKVltj.E8XNKEcwWm..." | |
groups: | |
- "sudo" | |
- "docker" | |
# SSH公開鍵を指定 | |
ssh-authorized-keys: | |
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0g+ZTxC7weoIJLUafOgrm+h..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment