%{ for iface in Vars.NIC } auto ${iface.Name} iface ${iface.Name} inet static address ${iface.IP} netmask ${iface.Mask} gateway ${iface.Gateway} %{ endfor ~}