Skip to content

Instantly share code, notes, and snippets.

@ohadlevy
Created May 31, 2012 08:32
Show Gist options
  • Save ohadlevy/2841937 to your computer and use it in GitHub Desktop.
Save ohadlevy/2841937 to your computer and use it in GitHub Desktop.
<%# simple snippet to generate /etc/hosts when provisioning image based systesm -%>
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 <%= @host %> <%= @host.shortname %>
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment