summaryrefslogtreecommitdiff
path: root/ironic
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2023-01-03 16:40:16 -0800
committerJulia Kreger <juliaashleykreger@gmail.com>2023-01-11 06:59:45 -0800
commit2f4a156d2995387f944942bd769d17eca623d36a (patch)
treed9d32b1c0b71775be7b76012d04fdc3aa917f770 /ironic
parent1d07be823782eca4706f474702e37b3515bcff40 (diff)
downloadironic-2f4a156d2995387f944942bd769d17eca623d36a.tar.gz
Fix grub config path default
Grub2 looks for files in different paths depending on the boot mode of the binary. Previously the grub_config_path setting was defaulted to the path used exclusively for BIOS booting, which meant anyone using it had to override the setting. Now, we've set the default to the default for UEFI booting, and the world should be a happier, and less override filled place. Change-Id: Id6723e92efb62f8ca03099f15c90580cec887ddd
Diffstat (limited to 'ironic')
-rw-r--r--ironic/conf/default.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/conf/default.py b/ironic/conf/default.py
index 0e3c32bd1..c7aff69cc 100644
--- a/ironic/conf/default.py
+++ b/ironic/conf/default.py
@@ -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. '