[ I apologise for this issue I posted to the github repo (https://github.com/mitchellh/vagrant/issues/2983), when it's just a question and not a bug ]
Hi all,
I'd like to add two boxes called primary and secondary to a Vagrantfile, but only startup primary when I run
vagrant up
Starting the secondary box would require an explicit
vagrant up secondary
Is this possible?
I've added primary: true to the primary box, but there doesn't seem to be a way to avoid the secondary box from starting up.
(a little background: I have a project containing a development box that everyone should use to work with the project, but I also add a "production-test" box to test provisioning and deployment Ansible scripts agains a box set up like a production server. This "production-test" box is overhead for regular developers)
Regards,
Ramon de la Fuente
@f_u_e_n_t_e
if ENV["secondary"]<BLOCK FOR SECONDARY BOX>end
so you can then do
secondary=true vagrant up secondary
--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Failures:
1) Vagrant::Environment#home_path throws an exception if inaccessible
Failure/Error: expect {
expected Vagrant::Errors::HomeDirectoryNotAccessible but nothing was raised
# ./test/unit/vagrant/environment_test.rb:47:in `block (3 levels) in <top (required)>'
-rw-r--r-- 1 fzz admin 3 Feb 24 23:12 setup_version
drwxr-xr-x 2 fzz admin 102 Feb 24 23:12 rgloader
-rw------- 1 fzz admin 1675 Feb 24 23:12 insecure_private_key
drwxr-xr-x 2 fzz admin 68 Feb 24 23:12 gems
drwxr-xr-x 2 fzz admin 68 Feb 24 23:12 data
drwxr-xr-x 2 fzz admin 68 Feb 24 23:12 boxes