How to install RancherOS to disk

Download ISO

From https://github.com/rancher/os/releases download rancheros.iso.

Run instance

Login to shell

Generate ssh-key

$ ssh-keygen -t rsa

Make cloud-config.yml file

$ touch cloud-config.yml
#cloud-config
ssh_authorized_keys:
- ssh-rsa AAA...

rancher:
network:
interfaces:
eth0:
address: 192.168.0.100/24
gateway: 192.168.0.254
mtu: 1500
dhcp: false

Install to disk

$ sudo ros install -c cloud-config.yml -d /dev/sda --append "rancher.password=password"

Then restart. Login from other host:

$ ssh rancher@192.168.0.100

(Input password)


Reference

mintty config

~/.minttyrc

Charset=UTF-8
CursorType=block

BoldAsFont=no
FontHeight=12
Term=xterm-256color

ForegroundColour=131,148,150
BackgroundColour=0,43,54
CursorColour=220,50,47

Black=7,54,66
BoldBlack=0,43,54
Red=220,50,47
BoldRed=203,75,22
Green=133,153,0
BoldGreen=88,110,117
Yellow=181,137,0
BoldYellow=101,123,131
Blue=38,139,210
BoldBlue=131,148,150
Magenta=211,54,130
BoldMagenta=108,113,196
Cyan=42,161,152
BoldCyan=147,161,161
White=238,232,213
BoldWhite=253,246,227

https://github.com/mintty/mintty/wiki/Tips