Merge pull request #69346 from rvolosatovs/fix/systemd-dhcp

nixos/network: replace deprecated DHCP=both by DHCP=yes
This commit is contained in:
Robin Gloster 2019-09-24 14:14:30 +02:00 committed by GitHub
commit 6b87fb6df2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ let
i.ipv4.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 =
concatLists (map (bond: bond.interfaces) (attrValues cfg.bonds))