X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=86677382f1c4258d070b48cae74ce087397c419f;hp=cb98aeb85c5f3f6eb236f9c20922220497912ddb;hb=a9697fb1f06fdf687045eef8381e7b01620ce45a;hpb=76ca7586f359f1d2faa671d85936186140f7e413 diff --git a/grml-debootstrap b/grml-debootstrap index cb98aeb..8667738 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1018,6 +1018,9 @@ finalize_vm() { rm -f "${MNTPOINT}/tmp/core.img" einfo "Updating grub configuration file." + if [ -n "$BOOT_APPEND" ] ; then + sed -i "/GRUB_CMDLINE_LINUX_DEFAULT/ s#\"\$# ${BOOT_APPEND}\"#" "${MNTPOINT}"/etc/default/grub + fi chroot "${MNTPOINT}" update-grub umount "${MNTPOINT}"/proc