Hello, I am not sure of the array part, I don't believe is possible. What you could do, is have 2 boxes like
mybox (the full one) mybox_minimal or something and you can comment one or the other out from Vagrantfile. But I am not sure to do something like what you are after. Alvaro On Wed, Jul 27, 2016 at 7:12 PM, Brandon Anderson <[email protected]> wrote: > Hey everyone, > > I have a rather odd setup and I am wondering if Vagrant has support for > it. I have two base images of an operating system, one which is much > smaller then the other as the second has a large software package which can > not be easily installed through a script during provision time. Now in my > vagrantfiles if I am building a test environment that uses this Operating > System is it possible to specify two base images one which is preferred and > another which is usable? The Idea being if I already have the much larger > base image installed on my system then it would be sufficient to build a > test environment and vagrant does not need to download a second base image > taking more time to vagrant up and using more disk space. If I do not have > the secondary image then it would download and install the preferred one > which is much smaller. Basically saying default to this base image if none > installed but any in this array are suitable if installed on the system. If > this is available I would love to know, if not is there a reason to > discourage this? > > Thanks, > > Brandon > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/ae073071-27e7-4084-ae1f-08d09dbaaede%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/ae073071-27e7-4084-ae1f-08d09dbaaede%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezkCwZBCaeQnOp4EeRnA2tJAD7ET1f%2BwZzf%3DXZKVfWQHQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
