Skip to main content

Oracle Linux prevent old kernels build up

·21 words·1 min
Orlando Gentil
Author
Orlando Gentil
Jack of all trades, master of none
Avoid old kernel to remain installed after upgrade

Change /etc/yum.conf installonly_limit

[main]
gpgcheck=1
installonly_limit=3   # <=== Desired limit      
clean_requirements_on_remove=True
best=True
skip_if_unavailable=False