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

Only set kernelopts in grubenv if it wasn't set before #41

Merged
merged 1 commit into from Oct 5, 2018

Conversation

martinezjavier
Copy link
Contributor

Users may want to use a different command line parameters, so if there's
a kernelopts var set in grubenv, grub2-mkconfig shouldn't reset it.

While being there, print a warning so users know that they shouldn't edit
the grub config file and instead edit the BootLoaderSpec config files.

Resolves: rhbz#1636466

Signed-off-by: Javier Martinez Canillas javierm@redhat.com

Users may want to use a different command line parameters, so if there's
a kernelopts var set in grubenv, grub2-mkconfig shouldn't reset it.

While being there, print a warning so users know that they shouldn't edit
the grub config file and instead edit the BootLoaderSpec config files.

Resolves: rhbz#1636466

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
@vathpela vathpela merged commit 7616806 into rhboot:opulent-snowcap Oct 5, 2018
@martinezjavier martinezjavier deleted the dont-reset-cmdline branch July 16, 2019 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants