Merge "Fix grub config path default"

This commit is contained in:
Zuul 2023-01-27 22:09:15 +00:00 committed by Gerrit Code Review
commit e73c3c9c22
2 changed files with 15 additions and 1 deletions

View File

@ -216,7 +216,7 @@ image_opts = [
'common/isolinux_config.template'),
help=_('Template file for isolinux configuration file.')),
cfg.StrOpt('grub_config_path',
default='/boot/grub/grub.cfg',
default='EFI/BOOT/grub.cfg',
help=_('GRUB2 configuration file location on the UEFI ISO '
'images produced by ironic. The default value is '
'usually incorrect and should not be relied on. '

View File

@ -0,0 +1,14 @@
---
fixes:
- |
Fixes the default value for the ``[DEFAULT]grub_config_path`` variable to
be the default path for UEFI bootloader configurations, where as the
default was previously the BIOS grub2 configuration path.
upgrades:
- |
The default configuration value for ``[DEFAULT]grub_config_path`` has
been changed from ``/boot/grub/grub.conf`` to ``EFI/BOOT/grub.efi`` as
the configuration parameter was for UEFI boot configuration, and the
``/boot/grub/grub2.conf`` path is for BIOS booting. This was verified
by referencing several working UEFI virtual media examples where this
value was overridden to the new configuration value.