Last active
February 24, 2018 04:08
-
-
Save tylrd/be60a6000fc2433b46af738773421c02 to your computer and use it in GitHub Desktop.
Google Cloud Project commands
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
curl -s -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true | jq -r '.networkInterfaces[0].accessConfigs[0].externalIp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment