Mentions légales du service

Skip to content

Reworked/merge bootloader scripts + kernel mismatch detection

Pierre Neyron requested to merge bootloader into master

Comes with https://gitlab.inria.fr/grid5000/grid5000-puppet/-/merge_requests/303

Move the bootloader installation outside of g5k-postinstall: g5k-postinstall can just possibly tell what should be done by the kadeploy3 bootloader step / install-grub2, using the --bootloader MODE option.

Valid modes for the kadeploy bootloader step:
  skip        request the bootloader step to do nothing
  no-config   request the bootloader step to skip the bootloader configuration
  no-install  request the bootloader step to skip the bootloader installation
  no-grub-from-deployed-env
              request the bootloader step to not use the grub commands from the
              deployed env to configure and install the bootloader (but write a
              basic grub.cfg and the grub-install from the deploy kernel)
  no-grub-mkconfig-from-deployed-env
              request the bootloader step to not use grub-mkconfig from the
              deployed env to configure the bootloader (but write a basic
              grub.cfg)
  no-grub-install-from-deployed-env
              request the bootloader step to not use grub-install from the
              deployed env to install the bootloader (but use grub-install from
              the deploy kernel)

The bootloader step can also be avoided with the --disable-bootloader-install option of kadeploy3.

Edited by Pierre Neyron

Merge request reports