grml/grml-debootstrap

BOOT_APPEND works only for VMs

Closed this issue · 4 comments

Appending stuff to the Kernel cmdline via BOOT_APPEND in the config file or --bootappend on the CLI does not work because the responsible code is only executed for virtual machines:

if [ -n "$BOOT_APPEND" ] ; then

Steps to reproduce the problem

  1. Prepare physical machine for debootstrap installation
  2. Execute grml-debootstrap with --appendboot 'net.ifnames=0 biosdevname=0'

Expected behavior

Content of BOOT_APPEND appended to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

Actual behavior

Does not happen.

Your system configuration

Physical hardware

Software versions

grml-debootstrap 0.78 (from inside grml 2017.05 Freedatensuppe)

+1 -- I'm just about to report the same thing.

grml-debootstrap from latest grml-small, v0.85.

--bootappend Add specified appendline to kernel whilst booting.

however it is not appended to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

mika commented

I started to work on this (completely untested though), so if anyone is interesting in this feature and/or can help us in testing, please take a look at #137

I tested and can confirm that the issue has been fixed in grml-debootstrap - version 0.89~bootappend01

mika commented

Thanks for testing this, @suntong - appreciated!
I just submitted this via #142

If anyone notices any problems please let us know, thanks!