Wasn't vagrant a software specialising on exactly this kind of task?
yes, it is :)
sometimes you need to run a configuration script related to the app not the environment (for example running composer install for php project or npm install for node) so you put these scripts in a bash file to run after provisioning.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.