[alpine] build with eth0 only

This commit is contained in:
Nico Schottelius 2021-05-16 18:15:45 +02:00
parent 92ce374d20
commit 831aef9197

View file

@ -61,7 +61,8 @@ 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
@ -73,20 +74,6 @@ iface eth0 inet6 manual
post-up /sbin/ip link set \$IFACE up
post-up /sbin/ip link set \$IFACE mtu 9000
auto eth1
iface eth1 inet6 manual
bond-master bond0
post-up /sbin/ip link set \$IFACE up
post-up /sbin/ip link set \$IFACE mtu 9000
auto bond0
iface bond0 inet6 manual
bond-miimon 500
bond-mode 4
post-up /sbin/ip link set \$IFACE up
post-up /sbin/ip link set \$IFACE mtu 9000
bond-slaves none
EOF
sudo tee "$rootfs_tmpdir/etc/hostname" <<EOF