Simon.  I must say I really like this one, I may use this idea in the 
future.

My req for this one is a single system, but I may have separate Vagrant 
directories per distro/version (wheezy, precise, centos6).  I could then 
handcraft the inventory, just like you did, but need to at least feed in 
the values from the Vagrantfile, but not sure how to use their library.

In looking through the Vagrant's code, it seems the values are write-only?  
It has Vagrant.configure(version, &block), which later I guess parses and 
sets appropriately outside of this block.  This gives me an idea, if I just 
manually set the port, I can then refer to it elsewhere.

-- 
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/11443369-8afe-4880-8d88-f3e4fcbd70d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to