Skip to content

Instantly share code, notes, and snippets.

@rakauchuk
Created May 15, 2015 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rakauchuk/1b24b796df208cdb755e to your computer and use it in GitHub Desktop.
Save rakauchuk/1b24b796df208cdb755e to your computer and use it in GitHub Desktop.
Get Vagrant IP
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