From: Robert LeBlanc Date: Thu, 21 Sep 2017 20:33:59 +0000 (-0600) Subject: Fix MTU on bond interface. X-Git-Tag: 047~96^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0eabcab43f2c47ca38dba41453f97c6a7d362fc;p=thirdparty%2Fdracut.git Fix MTU on bond interface. The MTU is only being set on the slave devices and the MTU of the bonding master is not being updated. This updates the bonding master and also changes the MTU on the slaves as expected. Signed-Off-By: Robert LeBlanc --- diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh index 687b5707f..0db3c0213 100755 --- a/modules.d/40network/ifup.sh +++ b/modules.d/40network/ifup.sh @@ -257,7 +257,7 @@ if [ -z "$NO_BOND_MASTER" ]; then done # Set mtu on bond master - [ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $netif + [ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $bondname # add the bits to setup the needed post enslavement parameters for arg in $bondoptions ; do