summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-network/hooks/configure-jumbo-frames.sh
blob: 138725f9fcc36a4df959e3f26cf2583e5c0f00ae (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash

. /etc/openslx

if [ "x$SLX_JUMBO_FRAMES" = "xyes" ]; then
	ip link set dev "$SLX_PXE_NETIF" mtu 9000
fi
true