We will be installing RancherOS on all of our 9 hosts.
The OS have docker pre-installed.
The RancherOS image can be downloaded here.
Once we have RancherOS we need to install it on to our VM for lab purpose.
RancherOS required at least
We need three things to be ready before hand.
Our RSA Public Key for sshing into the hosts
cloud-config.yml
file for easily setting up the RancherOS
HTTP Server for serving cloud-config.yml
file for the simplicity's sake
Note: We could create the file on the node and refer to it locally. But we have to do it for all 9 nodes. It will be tiresome!
In our case, the RSA Public Key looks like this
ssh-rsa ABC [email protected]
The only required field is ssh_authorized_keys
.
The content of our cloud-config.yml
looks like this.