Cleaning up /boot

Latest response

Hi there,
RHEL7.5 is run on VM. I have built a few custom kernels and now ran out of space on /boot. What would be a safe way to clean up unused custom kernels.
Note: package-cleanup --oldkernels didn't help as
$ rpm -q kernel
package kernel is not installed

Thanks
--Alex

Responses