summaryrefslogtreecommitdiff
path: root/modules/networking/templates/interface.epp
blob: d824f69f875dd0eba6ffe225f32839e085d09158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File managed by puppet
auto host0
# allow-hotplug host0

iface host0 inet <%= if $addr4 { 'static' } else { 'dhcp' } %>
<%- if $addr4 { -%>
  address <%= $addr4 %>
  <%- if $gw4 { -%>
  gateway <%= $gw4 %>
  <%- } -%>
<%- } -%>


iface host0 inet6 auto
  private 0