nixos/networkd: add dhcpServerConfig.PersistLeases option
PersistLeases was added to networkd version 256 (https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#PersistLeases=)
This commit is contained in:
parent
c520c086d7
commit
42ac7b2428
@ -1033,6 +1033,7 @@ let
|
|||||||
"BootServerName"
|
"BootServerName"
|
||||||
"BootFilename"
|
"BootFilename"
|
||||||
"IPv6OnlyPreferredSec"
|
"IPv6OnlyPreferredSec"
|
||||||
|
"PersistLeases"
|
||||||
])
|
])
|
||||||
(assertInt "PoolOffset")
|
(assertInt "PoolOffset")
|
||||||
(assertMinimum "PoolOffset" 0)
|
(assertMinimum "PoolOffset" 0)
|
||||||
@ -1047,6 +1048,7 @@ let
|
|||||||
(assertValueOneOf "EmitRouter" boolValues)
|
(assertValueOneOf "EmitRouter" boolValues)
|
||||||
(assertValueOneOf "EmitTimezone" boolValues)
|
(assertValueOneOf "EmitTimezone" boolValues)
|
||||||
(assertValueOneOf "BindToInterface" boolValues)
|
(assertValueOneOf "BindToInterface" boolValues)
|
||||||
|
(assertValueOneOf "PersistLeases" boolValues)
|
||||||
];
|
];
|
||||||
|
|
||||||
sectionIPv6SendRA = checkUnitConfig "IPv6SendRA" [
|
sectionIPv6SendRA = checkUnitConfig "IPv6SendRA" [
|
||||||
|
Loading…
Reference in New Issue
Block a user