diskimage-builder/diskimage_builder/elements/bootloader
Maksim Malchuk c2853c6f2c 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>
2023-09-15 17:14:25 +03:00
..
environment.d Allow custom console=tty0 argument 2023-04-11 17:15:12 +12:00
finalise.d Remove extra spaces from GRUB_CMDLINE_LINUX_DEFAULT 2023-09-15 17:14:25 +03:00
pkg-map RHEL/Centos 9 does not have package grub2-efi-x64-modules 2021-09-13 09:32:53 +12:00
README.rst Allow custom console=tty0 argument 2023-04-11 17:15:12 +12:00

==========
bootloader
==========

Installs ``grub[2]`` on boot partition on the system.

Arguments
=========

* ``DIB_GRUB_TIMEOUT`` sets the ``grub`` menu timeout.  It defaults to
  5 seconds.  Set this to 0 (no timeout) for fast boot times.

* ``DIB_BOOTLOADER_DEFAULT_CMDLINE`` sets parameters that are appended
  to the ``GRUB_CMDLINE_LINUX_DEFAULT`` values in ``grub.cfg``
  configuration. It defaults to ``nofb nomodeset gfxpayload=text``.

* ``DIB_BOOTLOADER_SERIAL_CONSOLE`` sets the serial device to be
  used as a console. It defaults to ``hvc0`` for PowerPC, 
  ``ttyAMA0,115200`` for ARM64, otherwise ``ttyS0,115200``.

* ``DIB_BOOTLOADER_VIRTUAL_TERMINAL`` sets the virtual terminal be
  used as a console. It defaults to ``tty0``. When explicitly set
  to an empty string then no virtual terminal console kernel argument
  is added.