X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=templates%2Fgrub-pxelinux_config;h=de1e348aee8c5cb43ec88b36c31844f24bbba51c;hb=03bd4d097461b19b788b40247ef10885c03be14a;hp=19b669c3126b50f260bfb902832bff1fcac5e0fc;hpb=bad00fc6a58406f1e110bf9e5701ff6eee6c3a3b;p=grml-terminalserver.git diff --git a/templates/grub-pxelinux_config b/templates/grub-pxelinux_config index 19b669c..de1e348 100644 --- a/templates/grub-pxelinux_config +++ b/templates/grub-pxelinux_config @@ -27,7 +27,7 @@ fi # default boot arguments used for both grub and pxelinux if [ -e '/live/cow' ]; then default_boot_args_="root=/dev/nfs rw nfsroot=$IP_:$MOUNT_POINT_ \ -nodhcp noprompt noeject" +noprompt noeject" else default_boot_args_="ramdisk_size=24000 root=/dev/ram0 rw \ init=/etc/init nfsdir=$IP_:$MOUNT_POINT_ nodhcp noprompt noeject \ @@ -102,7 +102,9 @@ ret_=$? DEST_DIR=$(mktemp -d) if [ -d /live/image/boot ] ; then grml2usb --bootloader-only \ - --bootoptions="$pxe_def_boot_args_ $BOOT_ARGS_" /live/image "$DEST_DIR" + --bootoptions="$pxe_def_boot_args_ $BOOT_ARGS_" \ + --remove-bootoption=nodhcp \ + /live/image "$DEST_DIR" mv "$DEST_DIR"/boot/syslinux/* "$TFTPD_DATA_DIR_/" rmdir "$DEST_DIR"/boot/syslinux