Created
          December 27, 2019 12:43 
        
      - 
      
- 
        Save kumaraswins/fa9eb11c3508761fd52aaae70801b03f to your computer and use it in GitHub Desktop. 
    Get the VM ip address pythonic way
  
        
  
    
      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
    
  
  
    
  | curl http://checkip.amazonaws.com | |
| import requests | |
| requests.get('http://checkip.amazonaws.com').text.rstrip() | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment