I've been using post-installation scripts for a while but a couple of years ago, I began evaluating more OS, looking for Linux replacement.
It was soon obvious none of them was ready yet and I'd have to repeat installation of more systems for an extended period of time, meaning I'd have to maintain as many installation scripts.
Because I wanted to reproduce the same work conditions under the different OS, I crafted a few PHP scripts to help me in the maintenance task.
COVID requiring, I had to set a few VM up at work to build a live virtual class platform, so I improved my PHP scripts to ease the task.
It's still an ongoing work, but since it already proved useful, I'm sharing it with whoever is interested.
You can find it here: http://gaia.defert.com/postin/