Skip to content

Automatically remove old kernels in Red Hat Enterprise Linux

License

Notifications You must be signed in to change notification settings

groland11/remove-old-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

last commit release date languages license

remove-old-kernel

Remove old kernel packages from Red Hat Enterpise Linux 7+

  • Keeps at least one old kernel. Oldest kernel versions will be deleted first.
  • Only deletes old kernel packages if disk space on /boot is low.
  • Does not remove kernel packages in debug mode.

Usage

./remove-old-kernel.py -h
usage: remove-old-kernel.py [-h] [-d] [-V]

Remove old kernel packages to free up disk space on /boot

optional arguments:
  -h, --help     show this help message and exit
  -d, --debug    generate additional debug information
  -V, --version  show program's version number and exit

Example

About

Automatically remove old kernels in Red Hat Enterprise Linux

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages