Basic VOS Cleanup


Tested: Flexvnf 22.x.x (Ubuntu 18.04)


Solution:


This script vos_cleanup.sh will automate the clearing-disk-space-on-vos KB.


How to Use:




Script will perform the following tasks:


>>>>> Provide current disk utilization

>>>>> Remove old VOS Packages that are not in use

>>>>> Remove old SPACKS that are not in use

>>>>> Remove Core files older than 15 days 

>>>>> Remove Tech-support files older than 15 days.