image-specs/eth0
Andres Salomon 6aed835e6c networking: don't fail if we can't restore firewall tables
I'm not sure if this happens on all images, but on a pi 4 networking
fails to initialize because there's no /etc/iptables/rules.v4.

That doesn't seem right, so let's ignore errors and allow networking.
2020-06-26 01:40:08 -04:00

7 lines
218 B
Plaintext

auto eth0
# TODO: switch back to iptables-persistent once it re-enters testing
iface eth0 inet dhcp
pre-up iptables-restore < /etc/iptables/rules.v4 || true
pre-up ip6tables-restore < /etc/iptables/rules.v6 || true