Multiple vagrant boxes in one vagrantfile or individual vagrantfiles?

Some I'm kind of new to vagrant in general. And I've been messing around with multiple virtual machines in a single vagrantfile. I've run into some strange issues like getting scripts running from other instances not the one I'm trying to run.

I'm wondering if anybody might have suggestions for building more complicated vagrant files with multiple virtual machines? Just looking for a decent example on GitHub, an article, or something.

Or is it recommended to do vagrant files for each separate virtual machine?

3 thoughts on “Multiple vagrant boxes in one vagrantfile or individual vagrantfiles?”

  1. I put everything In one file. If I need all of them spun up I issue the vagrant up command. If I only want specific ones. I’ll call them specifically with “vagrant up vm1”


Leave a Comment