9 lines
165 B
HCL
9 lines
165 B
HCL
|
|
||
|
%{ for iface in Vars.NIC }
|
||
|
auto ${iface.Name}
|
||
|
|
||
|
iface ${iface.Name} inet static
|
||
|
address ${iface.IP}
|
||
|
netmask ${iface.Mask}
|
||
|
gateway ${iface.Gateway}
|
||
|
%{ endfor ~}
|