[alpine] build with eth0 only
This commit is contained in:
parent
92ce374d20
commit
831aef9197
1 changed files with 2 additions and 15 deletions
|
@ -61,7 +61,8 @@ run_root rc-update add sshd
|
||||||
run_root rc-update add rdnssd
|
run_root rc-update add rdnssd
|
||||||
run_root rc-update add networking
|
run_root rc-update add networking
|
||||||
run_root rc-update add hostname
|
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
|
sudo tee "$rootfs_tmpdir/etc/network/interfaces" <<EOF
|
||||||
auto lo
|
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 up
|
||||||
post-up /sbin/ip link set \$IFACE mtu 9000
|
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
|
EOF
|
||||||
|
|
||||||
sudo tee "$rootfs_tmpdir/etc/hostname" <<EOF
|
sudo tee "$rootfs_tmpdir/etc/hostname" <<EOF
|
||||||
|
|
Loading…
Reference in a new issue