First pass at a rework of the overlay subsystem in Warewulf
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# /etc/systemd/network/10-persistent-net.link
|
||||
|
||||
{{range $devname, $netdev := .NetDevs}}
|
||||
{{- if eq $netdev.Name "default"}}
|
||||
[Match]
|
||||
MACAddress={{$netdev.Hwaddr}}
|
||||
[Link]
|
||||
Name={{$devname}}
|
||||
{{- end}}
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user