Hello, Start with the documentation is a nice place.
http://docs.vagrantup.com/v2/boxes/base.html For the first question, you need to package the box, to create a new box file Documentation for package: http://docs.vagrantup.com/v2/cli/package.html Be sure to read the last part, as the included vagrant file won;t be a base vagrantfile, it will just be used to take some parameters fromt there. What you may want to do, is distribute your vagrantfile, and inside put thje location of this box template you are creating. *A common misconception* is that the --vagrantfile option will package a Vagrantfile that is used when vagrant init is used with this box. This is not the case. Instead, a Vagrantfile is loaded and read as part of the Vagrant load process when the box is used. For more information, read about the Vagrantfile load order<http://docs.vagrantup.com/v2/vagrantfile/index.html#load-order>. Alvaro On Sun, May 25, 2014 at 8:06 PM, Simone Pescina <[email protected]> wrote: > I've created a box with puphpet. > > Then I added a custom bash script to the run-once section of puphpet. > > Now I'd like to package the provisioned machine as a base box, but I'd > like to have some of the vagrantfile parameters configurable as well. > > What I'm supposed to do? > > 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. > -- 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.
