Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle missing GRUB_CMDLINE_LINUX_DEFAULT variable
If GRUB_CMDLINE_LINUX_DEFAULT is unset in /etc/default/grub, initialise it from GRUB_CMDLINE_LINUX. We write back the updated kernel command line as GRUB_CMDLINE_LINUX_DEFAULT, the intent being to only apply to normal (non-rescue) boots. However, on RedHat 9.x, the grubby command that runs next still updates GRUB_CMDLINE_LINUX. Fixes #18.
- Loading branch information