Install RancherOS on Proxmox on OVH/SyS network

After many hours of trial an error…

By adding a serial port to the VM (vm > hardware > add > serial port) I was able to connect through the xterm.js console instead, which supports copy paste, and was able to add my public key.

That in itself didn’t help anything though, as I still need to get the network up, before being able to ssh in anyway.

RancherOS has a homespun way of dealing with networks:

$ sudo ros config set rancher.network.interfaces.eth1.address 172.68.1.100/24
$ sudo ros config set rancher.network.interfaces.eth1.gateway 172.68.1.1
$ sudo ros config set rancher.network.interfaces.eth1.mtu 1500
$ sudo ros config set rancher.network.interfaces.eth1.dhcp false
$ sudo system-docker restart network

I ran these, replacing of course eth1 with eth0 and the IP address and gateway with those correct for my network. I am 100% sure I used the correct values, I’ve set a lot of VM’s up on this network before, but still, no cigar.

ifconfig shows the network interface to be up, and there is packet traffic, but route -n shows no route to the gateway.

I also can’t either ping or shh to the server.

So I’m kinda stuck at this point.