SyntaxFix
Write A Post
Hire A Developer
Questions
I know this post is old but i want to add a few points to this!
you can try
vagrant ssh -c "ifconfig | grep inet" hostname
this will be easy if you have setup a name to your guests individually!