Merge pull request #123385 from veehaitch/systemd-dhcpserver-options

nixos/networkd: add missing [DHCPServer] options
This commit is contained in:
Sandro 2021-05-18 01:53:39 +02:00 committed by GitHub
commit 9dba669e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -716,10 +716,17 @@ let
"NTP"
"EmitSIP"
"SIP"
"EmitPOP3"
"POP3"
"EmitSMTP"
"SMTP"
"EmitLPR"
"LPR"
"EmitRouter"
"EmitTimezone"
"Timezone"
"SendOption"
"SendVendorOption"
])
(assertInt "PoolOffset")
(assertMinimum "PoolOffset" 0)
@ -728,6 +735,9 @@ let
(assertValueOneOf "EmitDNS" boolValues)
(assertValueOneOf "EmitNTP" boolValues)
(assertValueOneOf "EmitSIP" boolValues)
(assertValueOneOf "EmitPOP3" boolValues)
(assertValueOneOf "EmitSMTP" boolValues)
(assertValueOneOf "EmitLPR" boolValues)
(assertValueOneOf "EmitRouter" boolValues)
(assertValueOneOf "EmitTimezone" boolValues)
];