Limiting a number of kernels with yum is simple:
- Edit /etc/yum.conf to add this: installonly_limit=2
- yum install yum-utils
- package-cleanup –oldkernels –count=2
Dmitri Fedorov's blog around and about software
Limiting a number of kernels with yum is simple: