f-73: metadata: network-config par VM, une entrée ethN par NIC visée par sa MAC #73
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
9a6c9485b7
commit
0e3d91d246
5 changed files with 54 additions and 7 deletions
|
|
@ -1,4 +1,8 @@
|
|||
version: 2
|
||||
ethernets:
|
||||
eth0:
|
||||
{{- range $i, $mac := .MACs }}
|
||||
eth{{ $i }}:
|
||||
match:
|
||||
macaddress: "{{ $mac }}"
|
||||
dhcp4: true
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue