Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Ensure that GRUB-defaults are properly read when performing kernel-updates #26

Closed
ferricoxide opened this issue Aug 5, 2024 · 0 comments · Fixed by #28
Labels
enhancement New feature or request

Comments

@ferricoxide
Copy link
Member

Is your feature request related to a problem? Please describe.

While attempting to resolve #22, noticed that EC2s launched from the spel AMIs (for EL9) were showing "Consistent Network Device Naming" interface-names (ens5 on Nitro instance-types, enX0 on non-Nitro instance-types) instead of generic devicenames (i.e., eth0, etc.). Upon further digging, it became obvious that the contents of the /etc/default/grub file were being ignored when grubby updated the boot-configs.

Describe the solution you'd like

Ensure that the /etc/default/grub file's contents are getting properly ingested when grub2-mkconfig is run.

Describe alternatives you've considered

Additional context

Right now, it looks like the /etc/default/grub file's contents are getting ignored when grub2-mkconfig is run. Looks like, with 9.3+, need to modify the grub2-mkconfig line in PostBuild.sh:

/sbin/grub2-mkconfig > /boot/grub2/grub.cfg

to

grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline

However, even this seems to not be producing the expected results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant