Keeping CentOS installed kernels clean and tidy! Tyler BishopFebruary 22, 2016 0 Comments Add this to your yum.conf installonly_limit=2 Then run: package-cleanup --oldkernels --count=2