networkd: support specifying the ClientIdentifier for DHCPv4 options

This commit is contained in:
Graham Christensen 2022-04-26 15:49:52 -04:00 committed by Martin Weinelt
parent a619e7a40a
commit 479712af11
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -25,9 +25,11 @@ let
sectionDHCPv4 = checkUnitConfig "DHCPv4" [
(assertOnlyFields [
"ClientIdentifier"
"DUIDType"
"DUIDRawData"
])
(assertValueOneOf "ClientIdentifier" ["mac" "duid" "duid-only"])
];
sectionDHCPv6 = checkUnitConfig "DHCPv6" [