mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +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"
|
"RequiredForOnline"
|
||||||
"RequiredFamilyForOnline"
|
"RequiredFamilyForOnline"
|
||||||
"ActivationPolicy"
|
"ActivationPolicy"
|
||||||
|
"Promiscuous"
|
||||||
])
|
])
|
||||||
(assertMacAddress "MACAddress")
|
(assertMacAddress "MACAddress")
|
||||||
(assertByteFormat "MTUBytes")
|
(assertByteFormat "MTUBytes")
|
||||||
(assertValueOneOf "ARP" boolValues)
|
(assertValueOneOf "ARP" boolValues)
|
||||||
(assertValueOneOf "Multicast" boolValues)
|
(assertValueOneOf "Multicast" boolValues)
|
||||||
(assertValueOneOf "AllMulticast" boolValues)
|
(assertValueOneOf "AllMulticast" boolValues)
|
||||||
|
(assertValueOneOf "Promiscuous" boolValues)
|
||||||
(assertValueOneOf "Unmanaged" boolValues)
|
(assertValueOneOf "Unmanaged" boolValues)
|
||||||
(assertValueOneOf "RequiredForOnline" (boolValues ++ [
|
(assertValueOneOf "RequiredForOnline" (boolValues ++ [
|
||||||
"missing"
|
"missing"
|
||||||
|
Loading…
Reference in New Issue
Block a user