You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you should remove the -y from yum remove -y kernel-{devel,tools,tools-libs} so that the user can see what all will be removed before they commit to running it.
That's a good idea, but this was initially what I used on servers before I built ansible automation to do it for me. When starting up the server and having a script perform the task, you don't exactly need to worry what packages are removed as long as the server comes online post-reboot with the new el-repo kernel.
I think you should remove the
-y
fromyum remove -y kernel-{devel,tools,tools-libs}
so that the user can see what all will be removed before they commit to running it.