Merge "Remove extra spaces from GRUB_CMDLINE_LINUX_DEFAULT"

This commit is contained in:
Zuul 2023-09-20 23:09:29 +00:00 committed by Gerrit Code Review
commit 4f9ef195e3

View file

@ -105,10 +105,10 @@ sed -i 's/\ boot=[0-9A-Za-z/=\-]\+//' /etc/default/grub
# is a separate filesystem, and convey this fact as a boot
# argument so dracut does not halt the system on boot.
BOOT_FS=""
if [[ -n "${DIB_BOOT_LABEL}" ]]; then
BOOT_FS=" boot=LABEL=${DIB_BOOT_LABEL}"
else
BOOT_FS=""
fi
# NOTE(TheJulia): While on the subject of FIPS, if there is not an