From a239d09e1ed2624d3a02dd42f3291ace2a3ed867 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 13 Sep 2016 23:15:26 +0200 Subject: reproducible maintainance: ignore NOARP entries for mtu test --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index e983b91c..08ccad47 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -45,7 +45,7 @@ fi echo "$(date -u) - testing whether the proxy works..." curl http://www.debian.org > /dev/null echo "$(date -u) - testing whether the network interfaces MTU is 1500..." -if [ "$(ip link | sed -n '/LOOPBACK/!s/.* mtu \([0-9]*\) .*/\1/p' | sort -u)" != "1500" ] ; then +if [ "$(ip link | sed -n '/LOOPBACK\|NOARP/!s/.* mtu \([0-9]*\) .*/\1/p' | sort -u)" != "1500" ] ; then ip link echo "$(date -u) - network interfaces MTU != 1500 - this is wrong. => please \`sudo ifconfig eth0 mtu 1500\`" irc_message debian-reproducible "$HOSTNAME has wrong MTU, please tell the jenkins admins to fix this. (sudo ifconfig eth0 mtu 1500)" -- cgit v1.2.3-54-g00ecf