Currently vagrant package --vagrantfile myvagrantfile is broken.
It copies the custom vagrant to the box archive, however the custom vagrantfile includes/_Vagrantfile is never loaded by the actual vagrantfile ./vagrantfile
This PR adds the package_vagrantfile action (stolen from the virtualbox provider).
This means that the following template will be rendered:
Currently
vagrant package --vagrantfile myvagrantfile
is broken.It copies the custom vagrant to the box archive, however the custom vagrantfile
includes/_Vagrantfile
is never loaded by the actual vagrantfile./vagrantfile
This PR adds the package_vagrantfile action (stolen from the virtualbox provider).
This means that the following template will be rendered:
https://github.com/hashicorp/vagrant/blob/6e670777aff01043b7c21e60dd2ce95b5e433806/templates/package_Vagrantfile.erb#L10
Causing the custom vagrantfile that is already copied to actually be referenced and to work.