RancherOS on Proxmox

rancher Sep 6, 2020

Installing  RancherOS on Promox

  • Create a VM
  • Add a hard drive, cpu and memory
  • add the rancheros.iso
  • start and console on

first change password -

sudo /bin/bash

passwd rancher

  • enter password

Putty onto the Rancher Server Create a cloud-config.yml press I to enter text

#cloud-config

hostname: RancherOS

rancher:
  network:
    interfaces:
      eth*:
       dhcp: false
      eth0:
       address: 192.168.12.12/24
       gateway: 192.168.12.1
    dns:
     nameservers:
     - 8.8.8.8


ssh_authorized_keys:
  - ssh-rsa AAAAB3Nz......== rsa-key-20200905

press 'alt + w' to write the type :wq! to quit

run a validation to check your config

sudo ros config validate -i cloud-config.yml

now run the install

sudo ros install -c cloud-config.yml -d /dev/sda

shutdown and remove the iso

Putty onto the machine with the files

SSH - Auth - private.ppk file Data - username - rancher

Install Rancher Server

sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server

login to the Rancher http://IP-ADDRESS:8080

Tags