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.

Hardware Requirements

RancherOS required at least

Before we Begin

We need three things to be ready before hand.

  1. Our RSA Public Key for sshing into the hosts

  2. cloud-config.yml file for easily setting up the RancherOS

  3. 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!

Preparing RSA Public Key

In our case, the RSA Public Key looks like this

ssh-rsa ABC [email protected]

Preparing cloud-config.yml

The only required field is ssh_authorized_keys.

The content of our cloud-config.yml looks like this.