Hello all,
I my current setup, it’s required that I set IP address 1.2.3.4 with netmask /32 while gateway is 5.6.7.8 (completely different subnet).
When booting from ISO, I can do
sudo route add 5.6.7.8 dev eth0 sudo ros config set rancher.network.interfaces.eth0.address 1.2.3.4/32 sudo ros config set rancher.network.interfaces.eth0.gateway 5.6.7.8 sudo ros config set rancher.network.interfaces.eth0.dhcp false sudo netconf
and I’d get networking.
How can I put this in a cloud-config.yml file please? Note that the route command needs to executed before bringing up/configuring networking.
runcmd, bootcmd are not allowed for rancheros, also I can’t seem to be able to add any sort of user, or set a password to rancher user, in order to setup networking manually via console screen.
Thanks!