mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 19:50:22 +01:00
contrib/rpm: adjust match-device spec for 00-server-dhcp-client-id.conf
For older NetworkManager versions, a match spec that only contained except:
specifiers could never yield a positive match. That is not very useful and
got fixed by commit 242de347adbf653a709607979d36a0da1ca3ff0b (core: fix
device spec matching for a list of "except:").
Still, adjust the configuration snippet so that it also works with
configurations that predate the fix.
(cherry picked from commit 3627601bde)
This commit is contained in:
parent
8d34d23d52
commit
0fb8a25a61
1 changed files with 1 additions and 1 deletions
|
|
@ -2,5 +2,5 @@
|
|||
# But don't do so for dhclient DHCP plugin, as the default of dhclient may
|
||||
# be specified via /etc/dhcp (and anyway defaults to "hardware" already).
|
||||
[connection-00-server-dhcp-client-id]
|
||||
match-device=except:dhcp-plugin:dhclient
|
||||
match-device=*,except:dhcp-plugin:dhclient
|
||||
ipv4.dhcp-client-id=mac
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue