X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=85f09307f1f2e713f1f7e435b619860090e3f164;hp=60358d33d44d1b9b2120d8f875c9939cd4ef199a;hb=5ee814888e37e3777e74193190b8be49f64b442f;hpb=528d993ddcd67124f587aac9d2ff9538fcfcbc1d diff --git a/grml-debootstrap b/grml-debootstrap index 60358d3..85f0930 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1011,6 +1011,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