diff options
author | Vagrant Cascadian <vagrant@debian.org> | 2017-06-26 17:02:10 -0700 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-06-27 10:33:12 +0200 |
commit | b05af1c4bce0279b91d16dc22a38a74ba6336282 (patch) | |
tree | 3a5395fddf119177c01c2e68ec59cf352324517b /hosts/profitbricks-build10-amd64 | |
parent | c309768a5c4a0a94fdbd3842de9f454dcd32b69e (diff) | |
download | jenkins.debian.net-b05af1c4bce0279b91d16dc22a38a74ba6336282.tar.xz |
reproducible: Fix mtu check to only display status when eth0 is present.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Diffstat (limited to 'hosts/profitbricks-build10-amd64')
-rwxr-xr-x | hosts/profitbricks-build10-amd64/etc/rc.local | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/profitbricks-build10-amd64/etc/rc.local b/hosts/profitbricks-build10-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build10-amd64/etc/rc.local +++ b/hosts/profitbricks-build10-amd64/etc/rc.local @@ -47,8 +47,8 @@ fixup_mtu() { if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then ip link set dev eth0 mtu 1500 fi + ip link show eth0 fi - ip link show eth0 } # |