about summary refs log tree commit diff
path: root/nixos/tests/containers-hosts.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2017-12-03 05:14:54 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2018-02-17 14:57:07 +0100
commite239c1e5820bdbb3d94ccc46e2d6756b0d37057d (patch)
tree949c07008657835d1ac6d6b247a50d05d7152cae /nixos/tests/containers-hosts.nix
parentc1bed05e341756f7fdfa73035c7f1e078e49be3d (diff)
nixos/tests: rename IP addresses/routes options
Diffstat (limited to 'nixos/tests/containers-hosts.nix')
-rw-r--r--nixos/tests/containers-hosts.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/containers-hosts.nix b/nixos/tests/containers-hosts.nix
index c7a85f190a5d1..df1ef6d149364 100644
--- a/nixos/tests/containers-hosts.nix
+++ b/nixos/tests/containers-hosts.nix
@@ -13,9 +13,9 @@ import ./make-test.nix ({ pkgs, ...} : {
       virtualisation.vlans = [];
 
       networking.bridges.br0.interfaces = [];
-      networking.interfaces.br0 = {
-        ip4 = [ { address = "10.11.0.254"; prefixLength = 24; } ];
-      };
+      networking.interfaces.br0.ipv4.addresses = [
+        { address = "10.11.0.254"; prefixLength = 24; }
+      ];
 
       # Force /etc/hosts to be the only source for host name resolution
       environment.etc."nsswitch.conf".text = lib.mkForce ''