Skip to content

Commit

Permalink
images: Always use MAC identifier for networkd
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Feb 10, 2024
1 parent 6e59759 commit e5f93e4
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/alt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
variants:
- default

Expand Down
2 changes: 2 additions & 0 deletions images/amazonlinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
- path: /etc/fstab
generator: dump

Expand Down
2 changes: 2 additions & 0 deletions images/apertis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
packages:
manager: apt
update: true
Expand Down
6 changes: 6 additions & 0 deletions images/archlinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,9 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
types:
- container

Expand All @@ -494,6 +497,9 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
types:
- vm

Expand Down
10 changes: 10 additions & 0 deletions images/debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1061,10 +1061,15 @@ files:
content: |-
[Match]
Name=eth0
[Network]
DHCP=true
[DHCPv4]
UseDomains=true
[DHCP]
ClientIdentifier=mac
types:
- container
releases:
Expand All @@ -1078,10 +1083,15 @@ files:
content: |-
[Match]
Name=enp5s0
[Network]
DHCP=true
[DHCPv4]
UseDomains=true
[DHCP]
ClientIdentifier=mac
types:
- vm
variants:
Expand Down
6 changes: 6 additions & 0 deletions images/fedora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
variants:
- default
types:
Expand All @@ -106,6 +109,9 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
variants:
- default
types:
Expand Down
6 changes: 6 additions & 0 deletions images/gentoo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
types:
- container
variants:
Expand All @@ -369,6 +372,9 @@ files:
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
types:
- vm
variants:
Expand Down

0 comments on commit e5f93e4

Please sign in to comment.