Closed traylenator closed 3 years ago
I see there is grubenv work in the menu_config
type for some inspiration.
@traylenator I'm currently doing a bit of testing and it looks like everything still works as expected as long as GRUB_ENABLE_BLSCFG=true
in /etc/default/grub
.
@trevor-vaughan what do you mean by still works? It does edit files but when I tested a long time ago these are not used on reboot.
@traylenator The bug fix you added to run mkconfig
on all files in menuentry
needs to be ported to the other providers. Working on that now as part of #63
Not to be a pest, but will the fix be put in anytime soon? We really need it for a RHEL 8 deploy.
Which fix is that? I'm not sure there's a PR associated to that issue at the moment.
@raphink I'm assuming this one https://github.com/hercules-team/augeasproviders_grub/pull/64
So this is all fixed now assuming you are running 8.3.
Running with 8.1 or 8.2 results in a non bootable system.
I realise the module does not currently claim to support CentoOS 8.
With centos8
/etc/default/grub
is no longer the way to specify kernel parameters and indeed grub2-mkconfig is no longer the correct command to call.
From https://access.redhat.com/solutions/3710121 (paywall) suggests that
and
is the way to set consoleblank.
In reality this command maintains the files:
and these are loaded by the blscfg module.
https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault
Not sure how to proceed. Can we still use augeas to validate output of the commands to add kernel_parameters.