Hi Gareth,
What follows is conjecture - I have not tested this myself! But I will offer some suggestions on how I think you can accomplish this, and if you want to try them, let us know how it goes. And of course, proceed at your own risk!
When we build the Vagrant boxes, we use an automated process, that inserts some variables into the default Vagrantfile. You can see those here:
You will note that you have a local Vagrantfile on your host computer, wherever you first ran the vagrant init command. If you open it with a text editor, you will see that there are similar variables inside, commented out:
Now, my suspicion is that when we generate the boxes, these variables are set with the defaults in our automated build, but you should be able to make your own modifications in the local Vagrantfile. So, for example, if I wanted to try setting my http access IP to 15.15.15.15 instead, I might try the following:
If you do try this, then save the Vagrantfile, and then in your host terminal, run vagrant reload. That should shut down the box and reboot it, but I *believe* it will reference the local Vagrantfile first - and hopefully apply your local customizations.
If that doesn't work, you could alternatively try:
- vagrant destroy
- vagrant up
NOTE: The vagrant destroy command will completely destroy the current box - including any data you have! So make sure you make backups first if you need to re-use that data. We have some slides on how to set up re-usable test data for use in a Vagrant box, and instructions on how to use a little bash script I wrote, in the following slides:
This also covers how to manually back up any data you currently have in your test environment.
The vagrant destroy command will not require a full re-installation however - i.e. you won't have to run the vagrant init command again. Instead, when you run vagrant up, it will create a new default AtoM Vagrant box from scratch - and hopefully it will use the vm.network variables you have added to your local Vagrantfile.
As for accessing this via a network from another computer - you'll have to read-up online! It should be possible, but I've not tried it myself.
Let us know how it goes!
Regards,