How can I capture the current SSH guest port and private key location from 
Vagrant file?

I tried using this in my Vagrant file:

 puts "config.ssh.private_key_path=#{config.ssh.private_key_path}"
 puts "config.ssh.guest_port=#{config.ssh.guest_port}"

But I get object ids.  I then tried to inspect the objects, but all I get 
is an object id... :'(


-- 
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/9e3c2e86-c59c-4ebe-a024-0636ff4cb68a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to