[SOLVED] RancherOS from ISO on machine without DHCP - how to get network up to do ros install

Booting a machine from ISO cd.
Machine doesnt have access to DHCP.
once booted unable to ros install or wget my cloud config file that I would install with which would describe my network config

Anyone got the commands to get me out of this hole!?

clearly overworked, lazy and expecting everyone to come to the rescue…

ANSWER:

sudo vi /etc/network/interfaces and append:

iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
network xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
dns-nameservers 8.8.8.8 8.8.4.4

sudo vi /etc/resolv.conf and add
nameserver 8.8.8.8
nameserver 8.8.4.4

sudo ifup eth0

123 back in the room.

1 Like