two/internal/metadata/templates/network-config.tmpl
2026-10-20 00:58:34 +02:00

8 lines
137 B
Go Template

version: 2
ethernets:
{{- range $i, $mac := .MACs }}
eth{{ $i }}:
match:
macaddress: "{{ $mac }}"
dhcp4: true
{{- end }}