nixos/tests/networking: use new tempAddress option

This commit is contained in:
rnhmjoj 2020-01-30 11:57:09 +01:00
parent 2485e6399e
commit 1d9538d77a
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450

View File

@ -533,7 +533,7 @@ let
useNetworkd = networkd;
useDHCP = false;
interfaces.eth1 = {
preferTempAddress = true;
tempAddress = "default";
ipv4.addresses = mkOverride 0 [ ];
ipv6.addresses = mkOverride 0 [ ];
useDHCP = true;
@ -546,7 +546,7 @@ let
useNetworkd = networkd;
useDHCP = false;
interfaces.eth1 = {
preferTempAddress = false;
tempAddress = "enabled";
ipv4.addresses = mkOverride 0 [ ];
ipv6.addresses = mkOverride 0 [ ];
useDHCP = true;