Finally fix bonding

This commit is contained in:
Nico Schottelius 2021-05-16 18:53:38 +02:00
parent 831aef9197
commit 9477e8b589

View file

@ -61,8 +61,7 @@ run_root rc-update add sshd
run_root rc-update add rdnssd
run_root rc-update add networking
run_root rc-update add hostname
#run_root sed -i 's/root:!::0:::::/root:*::0:::::/' /etc/shadow
run_root sed -i 's/root:!::0:::::/root:::0:::::/' /etc/shadow
run_root sed -i 's/root:!::0:::::/root:*::0:::::/' /etc/shadow
sudo tee "$rootfs_tmpdir/etc/network/interfaces" <<EOF
auto lo
@ -70,9 +69,7 @@ iface lo inet loopback
auto eth0
iface eth0 inet6 manual
bond-master bond0
post-up /sbin/ip link set \$IFACE up
post-up /sbin/ip link set \$IFACE mtu 9000
up /sbin/ip link set \$IFACE up
EOF