mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #69346 from rvolosatovs/fix/systemd-dhcp
nixos/network: replace deprecated DHCP=both by DHCP=yes
This commit is contained in:
commit
6b87fb6df2
@ -12,7 +12,7 @@ let
|
|||||||
i.ipv4.addresses
|
i.ipv4.addresses
|
||||||
++ optionals cfg.enableIPv6 i.ipv6.addresses;
|
++ optionals cfg.enableIPv6 i.ipv6.addresses;
|
||||||
|
|
||||||
dhcpStr = useDHCP: if useDHCP == true || useDHCP == null then "both" else "no";
|
dhcpStr = useDHCP: if useDHCP == true || useDHCP == null then "yes" else "no";
|
||||||
|
|
||||||
slaves =
|
slaves =
|
||||||
concatLists (map (bond: bond.interfaces) (attrValues cfg.bonds))
|
concatLists (map (bond: bond.interfaces) (attrValues cfg.bonds))
|
||||||
|
Loading…
Reference in New Issue
Block a user