Last active
August 29, 2015 14:14
-
-
Save vjm/cb1ac4a231ceddb94e5f to your computer and use it in GitHub Desktop.
coreos-cloud-config
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: vjm-coreos | |
| coreos: | |
| etcd: | |
| addr: $private_ipv4:4001 | |
| peer-addr: $private_ipv4:7001 | |
| units: | |
| - name: etcd.service | |
| command: start | |
| - name: fleet.service | |
| command: start | |
| - name: static.network | |
| content: | | |
| [Match] | |
| Name=ens3 | |
| [Network] | |
| Address=x.x.x.109/24 | |
| Gateway=x.x.x.1 | |
| DNS=x.x.x.10 | |
| DNS=x.x.x.11 | |
| DNS=8.8.8.8 | |
| users: | |
| - name: core | |
| ssh-authorized-keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFIyeip2d3WgF3ZlsQp1mdvGVpFQZ0llRgulvn1rICIHrgKKduHQ4flVQcHmUKA1jWyVw9dchtFvCq9ugsKmcc7wad2dtul/Iral5Q8+bTQRPCvSh+XRlPb9kyTEBjhRHeCxW8g0S5tdB3yj37UE/pEedBXqgs+/LcWTD6GAIktCzCjD8WtlJCJBXz+vknkzTXitHmolUDvkw5FcgR10eiEiuAKHuK7LARB47vgewDJ9QSCIPSORKiQpmGlXexHzlAVVxu6seUz/6NRftJHxfagP+dpJujuVqPz9Tp2xtQ+du9LwpI6hJ5bPXU7kG0k8gnE4IZO4u9zaThlLbIfEO7 | |
| - groups: | |
| - sudo | |
| - docker |
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
| wget https://gist.githubusercontent.com/vjm/cb1ac4a231ceddb94e5f/raw/f3fa2d79e617f6b85fcc1bf34bd6f68e89494847/cloud-config; sudo coreos-install -d /dev/sdc -c cloud-config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment