RancherOS with xhyve on MacOS - mofm/xhyve GitHub Wiki
-
Download latest vmlinuz on Rancheros GitHub from here
-
Download latest initrd on Rancheros Github from here
-
Download rancheros.iso from here
-
Create disk image for install to disk:
$ mkfile 5g rancheros.img
- run rancheros_install.sh script and boot rancheros:
$ ./rancheros_install.sh
-
login with user rancher
-
create cloud-config.yml file and add ssh your public key:
$ vi cloud-config.yml
`#cloud-config`
`ssh_authorized_keys:`
` - ssh-rsa AAA...`
-
start rancheros installing:
$ sudo ros install -c cloud-config.yml -d /dev/vda
-
copy installed vmlinuz and initrd to host directory:
$ mount /dev/vda1 /mnt/
$ scp vmlinuz-v0.7.1-rancheros [email protected]:/Users/$USER/$WORKING_DIRECTORY
$ scp initrd-v0.7.1-rancheros [email protected]:/Users/$USER/$WORKING_DIRECTORY
and finally
- boot rancheros from disk
$ ./rancheros_boot.sh