You are here

CentOS - Delete old linux kernel

I have changed in /etc/yum.conf to
installonly_limit=2
and ran these commands:
yum install yum-utils
package-cleanup --oldkernels --count=2