Merge pull request #290925 from r-vdp/networkd_use_gateway

systemd-networkd: add missing UseGateway key in the DHCPv4 section
This commit is contained in:
Leona Maroni
2024-03-08 16:38:14 +01:00
committed by GitHub

View File

@@ -797,6 +797,7 @@ let
"UseHostname"
"Hostname"
"UseDomains"
"UseGateway"
"UseRoutes"
"UseTimezone"
"ClientIdentifier"
@@ -829,6 +830,7 @@ let
(assertValueOneOf "SendHostname" boolValues)
(assertValueOneOf "UseHostname" boolValues)
(assertValueOneOf "UseDomains" (boolValues ++ ["route"]))
(assertValueOneOf "UseGateway" boolValues)
(assertValueOneOf "UseRoutes" boolValues)
(assertValueOneOf "UseTimezone" boolValues)
(assertValueOneOf "ClientIdentifier" ["mac" "duid" "duid-only"])