mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 12:07:47 +03:00
add Promiscuous as valid value for linkConfig
configuring a network via `systemd.network.networks.<name>.linkConfig` does not allow to set the attr Promiscuous = "true"; This referes to: https://www.freedesktop.org/software/systemd/man/systemd.network.html#Promiscuous= Signed-off-by: Philippe Schaaf <philippe.schaaf@secunet.com>
This commit is contained in:
parent
d2ac16d35a
commit
d5e7f6a613
@ -454,12 +454,14 @@ let
|
||||
"RequiredForOnline"
|
||||
"RequiredFamilyForOnline"
|
||||
"ActivationPolicy"
|
||||
"Promiscuous"
|
||||
])
|
||||
(assertMacAddress "MACAddress")
|
||||
(assertByteFormat "MTUBytes")
|
||||
(assertValueOneOf "ARP" boolValues)
|
||||
(assertValueOneOf "Multicast" boolValues)
|
||||
(assertValueOneOf "AllMulticast" boolValues)
|
||||
(assertValueOneOf "Promiscuous" boolValues)
|
||||
(assertValueOneOf "Unmanaged" boolValues)
|
||||
(assertValueOneOf "RequiredForOnline" (boolValues ++ [
|
||||
"missing"
|
||||
|
Loading…
Reference in New Issue
Block a user