Created
December 30, 2016 17:08
-
-
Save cdaringe/3c0f3459a90afa113c87cec3a24e4b1d to your computer and use it in GitHub Desktop.
get vagrant box 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
vagrant ssh w1 -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