From 54f19116b7d8df35c0b46c8d1b6da9d29c1307e3 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 7 Sep 2017 09:22:25 +0200 Subject: [PATCH 1/1] scripts/generate_netboot_package.sh: use net.ifnames=0 as default boot option Otherwise we end up with arbitrary network device names which aren't properly supported (yet). See grml/grml#65 --- scripts/generate_netboot_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_netboot_package.sh b/scripts/generate_netboot_package.sh index bcf622a..f4e3d13 100755 --- a/scripts/generate_netboot_package.sh +++ b/scripts/generate_netboot_package.sh @@ -43,7 +43,7 @@ cat > "${WORKING_DIR}/pxelinux.cfg/default" << EOF default grml label grml kernel vmlinuz - append initrd=initrd.img root=/dev/nfs rw nfsroot=192.168.0.1:/live/image boot=live apm=power-off quiet nomce noprompt noeject vga=791 + append initrd=initrd.img root=/dev/nfs rw nfsroot=192.168.0.1:/live/image boot=live apm=power-off quiet nomce noprompt noeject vga=791 net.ifnames=0 EOF if tar -C "$OUTPUTDIR" -acf "${OUTPUT_FILE}" "grml_netboot_package_${GRML_VERSION}" ; then -- 2.1.4