diskimage-builder/diskimage_builder/elements/bootloader
Yolanda Robla 11275c212b Send custom parameters in bootloader to GRUB_CMDLINE
Depending on the types of deployment (security, nfv...) some extra
kernel flags are needed on the images. This change exposes the
DIB_BOOTLOADER_DEFAULT_CMDLINE parameter, defaulting to the
existing 'nofb nomodeset vga=normal', that will allow to modify
these boot params.

Change-Id: I67d191fa5ca44a57f776cb9739a02dd71212969c
Closes-Bug: #1668890
2017-03-08 15:43:46 +01:00
..
cleanup.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
environment.d Send custom parameters in bootloader to GRUB_CMDLINE 2017-03-08 15:43:46 +01:00
finalise.d Send custom parameters in bootloader to GRUB_CMDLINE 2017-03-08 15:43:46 +01:00
pkg-map Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
README.rst Send custom parameters in bootloader to GRUB_CMDLINE 2017-03-08 15:43:46 +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_CMD_LINE`` sets the CMDLINE parameters that
  are appended to the grub.cfg configuration. It defaults to
  'nofb nomodeset vga=normal'