jordanhillis / pvekclean

Easily remove old/unused PVE kernels on your Proxmox VE system
MIT License
336 stars 56 forks source link

option to keep certain number of kernels #2

Closed si458 closed 11 months ago

si458 commented 3 years ago

it would be amazing if the module had an option to allow it to keep back a certain number of kernels

currently it removes all old kernela excluding the latest you have installed OR the latest one if you havent restarted yet to apply it

an option like maybe --keep 3 to say keep the 3 latest kernels

sibelle-labs commented 2 years ago

I agree with you

si458 commented 2 years ago

anybody looks for this feature a fork has implemented this feature to leave behind 2 kernels for recovery purposes - https://github.com/rhyven/pvekclean

jordanhillis commented 11 months ago

This feature has been added to version 2.0 (just released). Thank you all for your patience with this being added.