]> cvs.zerfleddert.de Git - m1-debian/blobdiff - bootstrap.sh
use classic interface names
[m1-debian] / bootstrap.sh
index f3511a8c71094a1fba71c89b31b9d43f606a11d2..fc8c366dc9d532df70ca898f7d3e1fc93fbae9b4 100755 (executable)
@@ -41,6 +41,8 @@ build_rootfs()
         sudo cp ../../files/30-modeset.conf etc/X11/xorg.conf.d/30-modeset.conf
         sudo cp ../../files/blacklist.conf etc/modprobe.d/
 
+        sudo perl -p -i -e 's/"quiet"/"net.ifnames=0"/ if /^GRUB_CMDLINE_LINUX_DEFAULT=/' etc/default/grub
+
         sudo bash -c 'chroot . apt update'
         sudo bash -c 'chroot . apt install -y firmware-linux'
 
Impressum, Datenschutz