Luiz-Monad / coreos-configs

Out of box cloud-config files for CoreOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is this?

This is some tested .cloud-config files I made to make managing CoreOS less cryptic.

How to install?

If you are using Digital Ocean, just copy the content from the files and paste in the User Data field.

If you have already installed CoreOS in a VM or Vagrant. This is the same as manually putting the files in: /var/lib/coreos-install/user_data before installation.

But if you want, you can use wget or curl to download the raw content from GitHub.

Then, using a ssh shell (supposing you are running through a VPS), execute the following command: sudo coreos-cloudinit --from-file your-file.cloud-config, otherwise just use a vanilla terminal instead.

You can install direct from the URL as well: sudo coreos-cloudinit --from-url https://github.com/Kuchiriel/coreos-configs/raw/master/your-file.cloud-config

Every .cloud-config file in this repository has some example commands approaching different ways to install, which you can just copy and paste in the terminal:

Which ones are available now?

By now, the following files are available:

Installs docker-compose.

CoreOS Version Working?
1478.0.0 (alpha) Yes
1465.2.0 (beta) No
1409.7.0 (stable) No

If you want to make docker-compose work with previous versions of CoreOS, you need to edit this selected part of the file. It will alllow you to download an appropriate version of docker-compose which's target the compatible version of docker engine.

See this for more details on how to do this.

About

Out of box cloud-config files for CoreOS

License:MIT License