site  contact  subhomenews

Remove old configuration files

July 10, 2026 — BarryK

I currently have a version history depth of "5", so when update to latest Easy, the version greater than back-5 will get deleted. Easy Version Control will only be able to rollback by 5 versions.

However, I found that old "configuration-*" files in the containers folders are getting left behind:

img1

I have edited /inc/07new-version script in the initrd, inserted this at line 56:

   #20260710 remove configuration-${ADEL} from containers...
find /mnt/${WKG_DEV}/${WKG_DIR}containers -maxdepth 2 -type f -name "configuration-${ADEL}" -delete

...where $ADEL is the old version being removed.    

Tags: easy