Last active
February 9, 2016 03:46
-
-
Save mkocikowski/2e915273f10d8411f47f to your computer and use it in GitHub Desktop.
get IP of eth1 on Vagrant private network (DHCP)
This file contains hidden or 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 -c 'ifconfig eth1' | awk '/inet addr/{print substr($2,6)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment