scripts/generate_netboot_package.sh: use net.ifnames=0 as default boot option
authorMichael Prokop <mika@grml.org>
Thu, 7 Sep 2017 07:22:25 +0000 (09:22 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 7 Sep 2017 07:22:25 +0000 (09:22 +0200)
Otherwise we end up with arbitrary network device names which
aren't properly supported (yet).

See grml/grml#65

scripts/generate_netboot_package.sh

index bcf622a..f4e3d13 100755 (executable)
@@ -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