Graham – yeah, it’s essentially a more maintainable version of the same thing as you are doing. Essentially, the VagrantFile (config file for a vagrant vm) describes where to get the box and what to do with it, including what networks to setup etc etc. It also allows various methods of “provisioning” the box – the most obvious being Ansible.
The advantage is the config is text and, therefore, maintainable via git etc. Want next version of X? Just increase the version number of that.
So, my current projects git repo includes the VagrantFile and ansible config that describes exactly how I want my dev environment. When I rebuilt my Mac recently, all I need to do was install vagrant & virtualbox, clone the git repo, type vagrant up
, wait a bit and my entire dev environment was back again. Web server, database, search server, fake email server etc etc
Rachel