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

[#180] Switch over to lt kernel and remove old kernels #182

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Rumbles
Copy link
Contributor

@Rumbles Rumbles commented Nov 30, 2022

Extends #181 to enable the kernel repo, remove old kernels and set the machine to reboot if required by yum

Closes #180

@Rumbles Rumbles changed the title 180 more kernel Switch over to lt kernel and remove old kernels Nov 30, 2022
@@ -62,7 +77,7 @@
pre_reboot_delay: 0
post_reboot_delay: 30
test_command: whoami
when: reboot_after_kernel_upgrade|bool and kernel_installed.changed
when: (reboot_after_kernel_upgrade|bool and kernel_installed.changed) r restart_required.rc == 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OR ? (not r ? ) typo @Rumbles ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, you're right there is a mistake here, but I ran in a to a larger issue... when I tested this method, the yum package absent step will fail as one of the kernels it tries to remove is the running kernel...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I think that should be better now

@Rumbles Rumbles changed the title Switch over to lt kernel and remove old kernels [#180] Switch over to lt kernel and remove old kernels Dec 7, 2022
@tarzanek
Copy link
Collaborator

I think this can be merged, @vladzcloudius any comments?

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

Successfully merging this pull request may close these issues.

Issues with kernels on CentOS hosts
2 participants