- Download iso from RancherOS Release site
- Write the iso to an USB stick. E.G. with Etcher
- Boot from USB stick into rancher os.
- Create a cloud-config.yml that looks like
#cloud-config
ssh_authorized_keys:
- ssh-rsa <your public ssh key here>
hostname: rancheros-cd01
Notes: You can find the ssh key at ~/.ssh/
if there is no key use
ssh-keygen -t rsa -b 4096
In the rancheros console use
scp user@your-maschine:cloud-config.yml cloud-config-yml
to copy the cloud-config to the rancheros maschine.
Install rancheros to disk using
sudo ros install -c coud-config.yml -d /dev/sda
Reboot
From your maschine log into the rancheros maschine using
ssh -i ~/.ssh/<your-private-key-file> rancher@<ip-of-rancheros-maschine>