Skip to content

Instantly share code, notes, and snippets.

@ChrisWelsh-mis
Last active January 4, 2018 10:18
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 ChrisWelsh-mis/1b65a40de4e674fcf85f963ba2b04688 to your computer and use it in GitHub Desktop.
Save ChrisWelsh-mis/1b65a40de4e674fcf85f963ba2b04688 to your computer and use it in GitHub Desktop.
AWS AMI Sudo; Cannot resolve hostname
sudo echo "127.0.0.1 $(hostname)" >> /etc/hosts
Go the the VPC management console, select the VPC, click on Actions, select Edit DNS Hostnames and select Yes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment