Skip to content

Instantly share code, notes, and snippets.

@ashiato45
Created January 14, 2019 08:41
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 ashiato45/8fb7c43d4b6c582d6e716d505a14b55a to your computer and use it in GitHub Desktop.
Save ashiato45/8fb7c43d4b6c582d6e716d505a14b55a to your computer and use it in GitHub Desktop.
#! /bin/sh
vagrant ssh -c "curl http://inet-ip.info/ip" $1 2>/dev/null
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment