Commit 3627601b authored by Thomas Haller's avatar Thomas Haller

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.
parent a7ef23b3
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment