diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2017-12-03 05:14:54 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-02-17 14:57:07 +0100 |
commit | e239c1e5820bdbb3d94ccc46e2d6756b0d37057d (patch) | |
tree | 949c07008657835d1ac6d6b247a50d05d7152cae /nixos/tests/containers-extra_veth.nix | |
parent | c1bed05e341756f7fdfa73035c7f1e078e49be3d (diff) | |
download | nixpkgs-e239c1e5820bdbb3d94ccc46e2d6756b0d37057d.tar nixpkgs-e239c1e5820bdbb3d94ccc46e2d6756b0d37057d.tar.gz nixpkgs-e239c1e5820bdbb3d94ccc46e2d6756b0d37057d.tar.bz2 nixpkgs-e239c1e5820bdbb3d94ccc46e2d6756b0d37057d.tar.lz nixpkgs-e239c1e5820bdbb3d94ccc46e2d6756b0d37057d.tar.xz nixpkgs-e239c1e5820bdbb3d94ccc46e2d6756b0d37057d.tar.zst nixpkgs-e239c1e5820bdbb3d94ccc46e2d6756b0d37057d.zip |
nixos/tests: rename IP addresses/routes options
Diffstat (limited to 'nixos/tests/containers-extra_veth.nix')
-rw-r--r-- | nixos/tests/containers-extra_veth.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/containers-extra_veth.nix b/nixos/tests/containers-extra_veth.nix index 6339c8c558b..df3f3354b2d 100644 --- a/nixos/tests/containers-extra_veth.nix +++ b/nixos/tests/containers-extra_veth.nix @@ -21,11 +21,11 @@ import ./make-test.nix ({ pkgs, ...} : { }; networking.interfaces = { br0 = { - ip4 = [{ address = "192.168.0.1"; prefixLength = 24; }]; - ip6 = [{ address = "fc00::1"; prefixLength = 7; }]; + ipv4.addresses = [{ address = "192.168.0.1"; prefixLength = 24; }]; + ipv6.addresses = [{ address = "fc00::1"; prefixLength = 7; }]; }; br1 = { - ip4 = [{ address = "192.168.1.1"; prefixLength = 24; }]; + ipv4.addresses = [{ address = "192.168.1.1"; prefixLength = 24; }]; }; }; |