mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
networkd: support specifying the ClientIdentifier for DHCPv4 options
This commit is contained in:
parent
a619e7a40a
commit
479712af11
@ -25,9 +25,11 @@ let
|
|||||||
|
|
||||||
sectionDHCPv4 = checkUnitConfig "DHCPv4" [
|
sectionDHCPv4 = checkUnitConfig "DHCPv4" [
|
||||||
(assertOnlyFields [
|
(assertOnlyFields [
|
||||||
|
"ClientIdentifier"
|
||||||
"DUIDType"
|
"DUIDType"
|
||||||
"DUIDRawData"
|
"DUIDRawData"
|
||||||
])
|
])
|
||||||
|
(assertValueOneOf "ClientIdentifier" ["mac" "duid" "duid-only"])
|
||||||
];
|
];
|
||||||
|
|
||||||
sectionDHCPv6 = checkUnitConfig "DHCPv6" [
|
sectionDHCPv6 = checkUnitConfig "DHCPv6" [
|
||||||
|
Loading…
Reference in New Issue
Block a user