bond: use bond-slaves instead slaves

"slaves" is deprecated (not even used in official debian docs),
and ifupdown don't support it
This commit is contained in:
Alexandre Derumier 2020-11-09 09:26:23 +01:00 committed by Thomas Lamprecht
parent 8f1c22b65b
commit 5f05aad1cb

View File

@ -359,7 +359,7 @@ iface eno3 inet manual
auto bond0
iface bond0 inet static
slaves eno1 eno2
bond-slaves eno1 eno2
address 192.168.1.2
netmask 255.255.255.0
bond-miimon 100
@ -393,7 +393,7 @@ iface eno2 inet manual
auto bond0
iface bond0 inet manual
slaves eno1 eno2
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
@ -527,7 +527,7 @@ iface eno2 inet manual
auto bond0
iface bond0 inet manual
slaves eno1 eno2
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3