Remove extra spaces from GRUB_CMDLINE_LINUX_DEFAULT
Remove extra spaces from GRUB_CMDLINE_LINUX_DEFAULT in the /etc/default/grub when there is no boot laber and/or fips not enabled. TrivialFix Change-Id: Ie83781b9ceca16ff63e08e3d1f887aa6d33fec99 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
parent
1897b12ee9
commit
c2853c6f2c
@ -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
|
# is a separate filesystem, and convey this fact as a boot
|
||||||
# argument so dracut does not halt the system on boot.
|
# argument so dracut does not halt the system on boot.
|
||||||
|
|
||||||
|
BOOT_FS=""
|
||||||
|
|
||||||
if [[ -n "${DIB_BOOT_LABEL}" ]]; then
|
if [[ -n "${DIB_BOOT_LABEL}" ]]; then
|
||||||
BOOT_FS=" boot=LABEL=${DIB_BOOT_LABEL}"
|
BOOT_FS=" boot=LABEL=${DIB_BOOT_LABEL}"
|
||||||
else
|
|
||||||
BOOT_FS=""
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# NOTE(TheJulia): While on the subject of FIPS, if there is not an
|
# NOTE(TheJulia): While on the subject of FIPS, if there is not an
|
||||||
|
Loading…
Reference in New Issue
Block a user