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:
Thomas Haller 2018-12-11 12:56:53 +01:00
parent 8d34d23d52
commit 0fb8a25a61

View file

@ -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