Stop adding uuid= in keyfiles

Rocky Linux 10 is complaining on empty uuid, according to [1]
NM will generate uuid based on file hash if there's no uuid.

[1]: https://networkmanager.dev/docs/api/latest/nm-settings-keyfile.html

Change-Id: I4de7a98796d83cb0454d2c5faf4e293d9cc98290
This commit is contained in:
Michal Nasiadka
2025-06-25 16:28:02 +02:00
parent bc0f815402
commit 547dfdcb04
7 changed files with 0 additions and 25 deletions

View File

@@ -131,7 +131,6 @@ def _network_config(args):
# Automatically generated, do not edit
[connection]
id={id}
uuid=
type=802-3-ethernet
[ipv4]

View File

@@ -2,7 +2,6 @@
# Automatically generated, do not edit
[connection]
id=eth0
uuid=
type=802-3-ethernet
[ipv4]
@@ -14,7 +13,6 @@ mac_address=bc:76:4e:01:62:86
# Automatically generated, do not edit
[connection]
id=eth1
uuid=
type=802-3-ethernet
[ipv4]
@@ -26,7 +24,6 @@ mac_address=bc:76:4e:05:7b:06
# Automatically generated, do not edit
[connection]
id=eth3
uuid=
type=802-3-ethernet
[ipv4]

View File

@@ -5,7 +5,6 @@ nameserver 72.3.128.240
# Automatically generated, do not edit
[connection]
id=eth0
uuid=
type=802-3-ethernet
[ipv4]
@@ -19,7 +18,6 @@ mac_address=bc:76:4e:01:62:86
# Automatically generated, do not edit
[connection]
id=eth1
uuid=
type=802-3-ethernet
[ipv4]
@@ -34,7 +32,6 @@ mac_address=bc:76:4e:05:7b:06
# Automatically generated, do not edit
[connection]
id=eth3
uuid=
type=802-3-ethernet
[ipv4]
@@ -46,7 +43,6 @@ mac_address=bc:76:4e:12:a4:bb
# Automatically generated, do not edit
[connection]
id=eth4.25
uuid=
type=802-3-ethernet
[ipv4]
@@ -62,7 +58,6 @@ parent=ethwithvlan
# Automatically generated, do not edit
[connection]
id=eth4.26
uuid=
type=802-3-ethernet
[ipv4]
@@ -78,7 +73,6 @@ parent=ethwithvlan
# Automatically generated, do not edit
[connection]
id=eth5
uuid=
type=802-3-ethernet
[ipv4]
@@ -92,7 +86,6 @@ slave-type=bond
# Automatically generated, do not edit
[connection]
id=eth6
uuid=
type=802-3-ethernet
[ipv4]
@@ -106,7 +99,6 @@ slave-type=bond
# Automatically generated, do not edit
[connection]
id=bond0
uuid=
type=802-3-ethernet
[ipv4]
@@ -119,7 +111,6 @@ type=bond
# Automatically generated, do not edit
[connection]
id=eth7
uuid=
type=802-3-ethernet
[ipv4]
@@ -133,7 +124,6 @@ slave-type=bond
# Automatically generated, do not edit
[connection]
id=eth8
uuid=
type=802-3-ethernet
[ipv4]
@@ -147,7 +137,6 @@ slave-type=bond
# Automatically generated, do not edit
[connection]
id=bond1
uuid=
type=802-3-ethernet
[ipv4]
@@ -160,7 +149,6 @@ type=bond
# Automatically generated, do not edit
[connection]
id=bond1.27
uuid=
type=802-3-ethernet
[ipv4]

View File

@@ -2,7 +2,6 @@
# Automatically generated, do not edit
[connection]
id=eth0
uuid=
type=802-3-ethernet
[ipv4]
@@ -14,7 +13,6 @@ mac_address=bc:76:4e:01:62:86
# Automatically generated, do not edit
[connection]
id=eth1
uuid=
type=802-3-ethernet
[ipv4]
@@ -26,7 +24,6 @@ mac_address=bc:76:4e:05:7b:06
# Automatically generated, do not edit
[connection]
id=eth3
uuid=
type=802-3-ethernet
[ipv4]

View File

@@ -5,7 +5,6 @@ nameserver 69.20.0.164
# Automatically generated, do not edit
[connection]
id=eth0
uuid=
type=802-3-ethernet
[ipv4]
@@ -25,7 +24,6 @@ route2=fd30::/48,fe80::f001
# Automatically generated, do not edit
[connection]
id=eth1
uuid=
type=802-3-ethernet
[ipv4]

View File

@@ -5,7 +5,6 @@ nameserver 72.3.128.240
# Automatically generated, do not edit
[connection]
id=eth0
uuid=
type=802-3-ethernet
[ipv4]
@@ -19,7 +18,6 @@ mac_address=bc:76:4e:01:62:86
# Automatically generated, do not edit
[connection]
id=eth1
uuid=
type=802-3-ethernet
[ipv4]
@@ -34,7 +32,6 @@ mac_address=bc:76:4e:05:7b:06
# Automatically generated, do not edit
[connection]
id=eth3
uuid=
type=802-3-ethernet
[ipv4]

View File

@@ -5,7 +5,6 @@ nameserver 199.204.47.54
# Automatically generated, do not edit
[connection]
id=ens3
uuid=
type=802-3-ethernet
[ipv4]