Hello Vince,

In addition to what Alvaro suggested, you can take advantage of the fact 
that Vagrant is written in Ruby, and you can use standard Ruby features 
like Lists\Hashes and loops to decrease the amount of code necessary to 
build multiple VMs in a single Vagrantfile.

I have an example in one my repos: 
https://github.com/VMTrooper/VagrantBrownBag/blob/master/multivmdynamic/Vagrantfile

Just ignore the lines about Puppet provisioning and the network and VM 
setting customizations.

Let us know if that helps,
Trevor

On Thursday, October 23, 2014 12:34:21 PM UTC-7, Vince Skahan wrote:
>
> Coming from a VMware Workstation background, I'm struggling a bit with the 
> vagrant commands and what's where under the hood.
>
> What I'm trying to do is:
>
>    - create multiple VMs based on the same base distro (say 
>    ubuntu/trusty64)
>    - name the multiple VMs individually (say 'hostA' and 'hostB')
>    - be able to start/stop them independently
>    - be able to run them simultaneously as needed
>    - definitely be able to have them configured differently when I get 
>    done with them
>
> To me, this isn't the same as 
> https://docs.vagrantup.com/v2/multi-machine/index.html which is more like 
> a VMware Workstation Team kind of scenario (correct me if I'm reading it 
> wrong).  I just want to have multiple VMs derived from the same base 
> starting point that I can start/stop/alter differently.
>
> I'm running vagrant-1.6.5 on a Macbook with VirtualBox if that matters...
>
> Any help appreciated....thanks...
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to