[pve-devel] [PATCH pve-docs] bond: use bond-slaves instead slaves

Alexandre Derumier aderumier at odiso.com
Mon Nov 9 09:26:23 CET 2020


"slaves" is deprecated (not even used in official debian docs),
and ifupdown don't support it
---
 pve-network.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pve-network.adoc b/pve-network.adoc
index 692326f..34cc6c8 100644
--- a/pve-network.adoc
+++ b/pve-network.adoc
@@ -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
-- 
2.20.1





More information about the pve-devel mailing list