2
0

interfaces 542 B

12345678910111213141516171819202122
  1. # This file describes the network interfaces available on your system
  2. # and how to activate them. For more information, see interfaces(5).
  3. # The loopback network interface
  4. auto lo
  5. iface lo inet loopback
  6. [% FOREACH if IN interfaces -%]
  7. auto [% if.name %]
  8. [% IF if.ip -%]
  9. iface [% if.name %] inet static
  10. address [% if.ip %]
  11. netmask [% if.netmask %]
  12. gateway [% if.gateway %]
  13. [%- END %]
  14. [% IF if.ip6 -%]
  15. iface [% if.name %] inet6 static
  16. address [% if.ip6 %]
  17. netmask [% if.netmask6 %]
  18. gateway [% if.gateway6 %]
  19. [%- END %]
  20. [%- END %]