diskimage-builder/diskimage_builder/elements/bootloader
Charalampos Kominos c85141291e Fix bootloader packages for aarch64
Due to the arm naming convention, building centos images for arm64 and
aarch64 does not yield the same result. In order to locate grub2 on
aarch64 the correct mapping is added.

Change-Id: I1bb227b2523e420e394fec8c52c6c79fcdd31c53
Closes-Bug:#1789414
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
2018-08-31 17:01:47 +02:00
..
cleanup.d Use [[ for =~ matches 2017-08-28 17:01:03 +10:00
environment.d Send custom parameters in bootloader to GRUB_CMDLINE 2017-03-08 15:43:46 +01:00
finalise.d Fix bootloader for efi on rhel systems 2018-06-19 08:37:30 +02:00
pkg-map Fix bootloader packages for aarch64 2018-08-31 17:01:47 +02:00
README.rst Fix typo in CMDLINE env var for bootloader 2017-03-22 12:02:37 +01:00

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

Installs ``grub[2]`` on boot partition on the system. In case GRUB2 is
not available in the system, a fallback to Extlinux will happen. It's
also possible to enforce the use of Extlinux by exporting a
``DIB_EXTLINUX`` variable to the environment.

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 the CMDLINE parameters that
  are appended to the grub.cfg configuration. It defaults to
  'nofb nomodeset vga=normal'