Split overlays into discrete functionality and test

- 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>
This commit is contained in:
Jonathon Anderson
2024-07-15 16:27:49 -06:00
parent b150b6319e
commit 053dd9953a
109 changed files with 3581 additions and 232 deletions

View File

@@ -0,0 +1,11 @@
{{ range $devname, $netdev := .NetDevs -}}
{{- $filename := print "10-ww4-netname-" $devname ".link" }}
{{- file $filename }}
# This file is autogenerated by warewulf
{{- if and $netdev.Hwaddr $netdev.Device }}
[Match]
MACAddress={{$netdev.Hwaddr}}
[Link]
Name={{ $netdev.Device }}
{{ end -}}
{{ end -}}