Limit kernels on RHEL, CentOS and Fedora

As a software tester you are using operating systems such as RHEL, CentOS and Fedora. It may happen that the hard disk space is running at the limit and a further update is no longer possible. An easy way to create free space is to delete the kernel(s) of older versions.

By default 5 kernels will be stored.

Delete old kernels