Finally fix bonding
This commit is contained in:
parent
831aef9197
commit
9477e8b589
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue