X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2F20-hwdetect.sh;h=57374c8c9f1cb24b86cb9fd071e519e8b40c510c;hp=510be75fcab28f78fd80b4fe21c753c5d62643cd;hb=490334746631a6c956eee47947f3ab8f8a451666;hpb=7ade5e2c6113530c5f99cfc95880897fcb479f39 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