# 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