- Closes #987 To make the overlays testable in isolation, and after discussion with the TSC, removed host/time/source from overlay files. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
16 lines
474 B
Plaintext
16 lines
474 B
Plaintext
{{range $devname, $netdev := .ThisNode.NetDevs -}}
|
|
{{- $filename := print $devname }}
|
|
{{- file $filename }}
|
|
# This file is autogenerated by warewulf
|
|
{{ if $netdev.OnBoot.GetB -}}
|
|
auto {{$netdev.Device.Get}}
|
|
{{ end -}}
|
|
allow-hotplug {{$netdev.Device.Get}}
|
|
iface {{$netdev.Device.Get}} inet static
|
|
address {{$netdev.Ipaddr.Get}}
|
|
netmask {{$netdev.Netmask.Get}}
|
|
gateway {{$netdev.Gateway.Get}}
|
|
mtu {{$netdev.MTU.Get}}
|
|
up ifmetric {{$netdev.Device.Get}} 30
|
|
{{- end}}
|