Open brandhout opened 2 years ago
Version (k3OS / kernel) k3os version v0.22.2-k3s2r0 5.4.0-88-generic
Architecture x86
Describe the bug Network is not ready when executing run_cmd commands, I can only run route commands or iptables commands in combination with a sleep.
To Reproduce Install a fresh k3os machine on kvm or bare metal
run_cmd:
Or some other route command or iptables
Expected behavior The route command is added to the system routing table
Actual behavior route: ioctl 0x890b failed: network unreachable sleep 5 && route add default gw 192.168.1.254 eth1 works
sleep 5 && route add default gw 192.168.1.254 eth1
Additional context I've got two network interfaces, one connected to the internet (eth1) and one internal network without access to the internet.
Version (k3OS / kernel) k3os version v0.22.2-k3s2r0 5.4.0-88-generic
Architecture x86
Describe the bug Network is not ready when executing run_cmd commands, I can only run route commands or iptables commands in combination with a sleep.
To Reproduce Install a fresh k3os machine on kvm or bare metal
run_cmd:
Or some other route command or iptables
Expected behavior The route command is added to the system routing table
Actual behavior route: ioctl 0x890b failed: network unreachable
sleep 5 && route add default gw 192.168.1.254 eth1
worksAdditional context I've got two network interfaces, one connected to the internet (eth1) and one internal network without access to the internet.