Hello,
Have a look at this:
https://docs.vagrantup.com/v2/cli/package.html
--include x,y,z - Additional files will be packaged with the box.
These can be used by a packaged Vagrantfile (documented below) to
perform additional tasks.
--vagrantfile FILE - Packages a Vagrantfile with the box, that is
loaded as part of theVagrantfile load order when the resulting box is
used.
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.
So, you should be able to include a base Vagrantfile that set winrm
try including a Vagrantfile that does
puts "from the Vagranfile included with the base box"
so something
Then package the box, include that file, add the box with a new name
and test if works for you
you can check the boxes at your home directory and then go to .vagrant.d/boxes/
Hope this helps
Alvaro.
>
https://groups.google.com/d/msgid/vagrant-up/9d5d723b-865d-44ea-8e34-707ddd49e394%40googlegroups.com.