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 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
|
||||||
|
@ -70,9 +69,7 @@ iface lo inet loopback
|
||||||
|
|
||||||
auto eth0
|
auto eth0
|
||||||
iface eth0 inet6 manual
|
iface eth0 inet6 manual
|
||||||
bond-master bond0
|
up /sbin/ip link set \$IFACE up
|
||||||
post-up /sbin/ip link set \$IFACE up
|
|
||||||
post-up /sbin/ip link set \$IFACE mtu 9000
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue