I'm going to be honest, cloud at cost offers a really cool pay once VPS. The issue is that they probably oversold and don't have OS support/customer care really.

I've been wanting to have RancherOS on CloudAtCost for a while but they won't support anything beyond their current image base and 14.04 is getting too old for me.

Getting rancherOS intalled is actually rather simple.

First thing is to wget the newest release from rancher/os currently 0.6.0

cd /boot  
wget https://releases.rancher.com/os/v0.6.0/rancheros.iso  

Now open the web terminal and on reboot using the ctrl+alt+delete button at the top right and when the grub menu comes up press c

Type the following commands to mount the iso and boot from it

loopback loop (hd0,1)/rancheros.iso  
linux (loop)/boot/vmlinuz rancher.password=password  
initrd (loop)/boot/initrd.gz  

Notice we set the password to password for this session.

You're going to boot into the RancherOS image now woot! Half the battle is over.

Now we need to give Rancher the appropriate config settings

sudo ros config set rancher.network.interfaces.eth1.address STATICIPADDRESS/24  
sudo ros config set rancher.network.interfaces.eth1.gateway GATEWAYIPADDRESS  
sudo ros config set rancher.network.interfaces.eth1.mtu 1500  
sudo ros config set rancher.network.interfaces.eth1.dhcp false  

This will modify the /var/lib/rancher/conf/cloud-config.yml file with your network config

Now we need to restart the system-docker's network.
sudo system-docker restart network

After this networking should be working for you in the session and we can install the OS.

cd /var/lib/rancher/conf  
ros install -c cloud-config.yml -d /dev/sda  

TADA OS installed

One more thing we need to do is get your ssh key installed. I didn't have you do it before because you can't paste in the web console and I didn't really think you wanted to type your entire pub...

Reboot with the ctrl+alt+del method and during grub press e to edit the rancher grub config.

LPT: pressing down a bunch will stop grub from booting and allow you to press e

We need to add the following after the linux directive as before:

Once you boot you should be able to ssh in with a password. Go ahead and make a .ssh directory and a file in it named authorizedkeys then paste your idrsa.pub in there and reboot one more time.


One fun thing you can do is install the ubuntu console and get apt and so forth.

sudo ros console switch ubuntu  

Now you can enjoy a full ubuntu session and apt your tools like git, curl, wget, vim, emacs, nano, etc.

Happy hacking!