Created
December 10, 2013 18:41
-
-
Save stefhen/7895768 to your computer and use it in GitHub Desktop.
Get public and private IP's of currently running server.
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
log "PUBLIC IP: #{node[:cloud][:public_ips][0]}\n" | |
log "PRIVATE IP: #{node[:cloud][:private_ips[0]}\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment