thanks so much, I misunderstood that note on the docs about Vagrantfile 
before. I used the --vagrantfile option to point to my box's config and got 
the desired result.

On Saturday, November 14, 2015 at 9:51:32 PM UTC-5, Alvaro Miranda Aguilera 
wrote:
>
> 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. 
>

-- 
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/21c036a4-a3a3-4d11-ab5d-cb6bed356439%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to