Skip to content
Snippets Groups Projects
Unverified Commit 45f95ed1 authored by Max Adamo's avatar Max Adamo
Browse files

minor

parent d0d2117d
No related branches found
No related tags found
No related merge requests found
[ubuntu-kernel-cleanup]
# you can get a list package prefixes and suffixes using "apt-cache search"
#
# further information can be found here /usr/share/doc/ubuntu-kernel-cleanup/README.md
# further information can be found inside /usr/share/doc/ubuntu-kernel-cleanup/README.txt
#
# If the running kernel does not belong to the list of the latest kernels,
# obtained with the option "count", then the script will keep "count + 1" kernels.
count = 2
# prefix comes after the version number
# prefix comes before the version number
kernel_prefixes = linux-tools, linux-headers, linux-modules, linux-modules-extra, linux-image, linux-image-unsigned
# suffix come before the version number
# suffix come after the version number
kernel_suffixes = generic, aws
#!/usr/bin/python3
# pylint: disable=C0103
#
"""
Remove intermediates and unused kernels from Ubuntu
For more information, please check inside:
- /etc/ubuntu-kernel-cleanup.ini
- /share/doc/ubuntu-kernel-cleanup/README.txt
- /usr/share/doc/ubuntu-kernel-cleanup/README.txt
Usage:
remove-ubuntu-kernels.py (--real-run | --dry-run)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment