Monday, August 20, 2018

Remove Old Kernels

# yum install yum-utils -y
# echo Y|package-cleanup --oldkernels --count=2

1 comment:



  1. The permanent solution
    Edit the /etc/yum.conf file and set the installonly_limit variable:

    installonly_limit=2
    Note: The default value is 5.

    ReplyDelete