Skip to content

Instantly share code, notes, and snippets.

@khouse
Created August 5, 2013 20:45
Show Gist options
  • Save khouse/6159453 to your computer and use it in GitHub Desktop.
Save khouse/6159453 to your computer and use it in GitHub Desktop.
Opsworks /etc/hosts
# This file was generated by OpsWorks
# any manual changes will be removed on the next update.
127.0.0.1 localhost localhost.localdomain
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
# OpsWorks Layer State
127.0.0.1 host1.localdomain
x.x.x.x host1
x.x.x.x host1-ext
x.x.x.x host2
x.x.x.x host2-ext
# Additional Hosts
x.x.x.x master1
x.x.x.x internal.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment