Created
May 15, 2015 07:50
-
-
Save rakauchuk/1b24b796df208cdb755e to your computer and use it in GitHub Desktop.
Get Vagrant IP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ip = $(vagrant ssh -c "ip address show eth0 | grep 'inet ' | sed -e 's/^.*inet //' -e 's/\/.*$//'") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment