2
0

hosts 448 B

123456789101112131415161718
  1. 127.0.0.1 localhost
  2. [% FOR if IN interfaces -%]
  3. [% IF if.ip -%]
  4. [% if.ip %] [% hostname %].[% domain %] [% hostname %]
  5. [% END -%]
  6. [% END -%]
  7. # The following lines are desirable for IPv6 capable hosts
  8. ::1 ip6-localhost ip6-loopback
  9. fe00::0 ip6-localnet
  10. ff00::0 ip6-mcastprefix
  11. ff02::1 ip6-allnodes
  12. ff02::2 ip6-allrouters
  13. [% FOR if IN interfaces -%]
  14. [% IF if.ip6 -%]
  15. [% if.ip6 %] [% hostname %].[% domain %] [% hostname %]
  16. [% END -%]
  17. [% END -%]