X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2F20-hwdetect.sh;h=57374c8c9f1cb24b86cb9fd071e519e8b40c510c;hb=79cd04733bf570db299ef09195c498a63f3f3fd5;hp=510be75fcab28f78fd80b4fe21c753c5d62643cd;hpb=f8e7e925a0eba5b0091354ccf26842bcfda9b84e;p=automated-distro-installer diff --git a/fai/config/class/20-hwdetect.sh b/fai/config/class/20-hwdetect.sh index 510be75..57374c8 100755 --- a/fai/config/class/20-hwdetect.sh +++ b/fai/config/class/20-hwdetect.sh @@ -20,7 +20,8 @@ for mod in $kernelmodules; do modprobe -a $mod 1>/dev/null 2>&1 done -ip ad show up | egrep -iv 'loopback|127.0.0.1|::1/128|_lft' +# show the basic information about the network interface +ip -br li show up|egrep -v ^lo; ip -br a show up|egrep -v ^lo echo $printk > /proc/sys/kernel/printk