diff --git a/overlays/wwinit/etc/NetworkManager/system-connections/ww4-managed.ww b/overlays/wwinit/etc/NetworkManager/system-connections/ww4-managed.ww index cef5b933..fc3e9807 100644 --- a/overlays/wwinit/etc/NetworkManager/system-connections/ww4-managed.ww +++ b/overlays/wwinit/etc/NetworkManager/system-connections/ww4-managed.ww @@ -1,15 +1,15 @@ {{- $host := .BuildHost }} {{- $time := .BuildTime }} {{- $source := .BuildSource }} -{{- range $connection-id, $netdev := .NetDevs }} -{{- $filename := print "warewulf-" $connection-id ".conf" }} +{{- range $connection_id, $netdev := .NetDevs }} +{{- $filename := print "warewulf-" $connection_id ".conf" }} {{- file $filename }} # This file is autogenerated by warewulf # Host: {{ $host }} # Time: {{ $time }} # Source: {{ $source }} [connection] -id={{ $connection-id }} +id={{ $connection_id }} interface-name={{ $netdev.Device }} {{ if $netdev.Type -}} type={{ $netdev.Type }}