Remove Old Kernels from Grub

The command followed purges old kernels from Grub:

su -c 'package-cleanup --oldkernels -y'

To verify:

rpm -q kernel
Advertisements