summaryrefslogtreecommitdiffstats
path: root/nixos/tests/containers-macvlans.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-macvlans.nix
parentc1bed05e341756f7fdfa73035c7f1e078e49be3d (diff)
nixos/tests: rename IP addresses/routes options
Diffstat (limited to 'nixos/tests/containers-macvlans.nix')
-rw-r--r--nixos/tests/containers-macvlans.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/containers-macvlans.nix b/nixos/tests/containers-macvlans.nix
index 721f98481497..390dc4ad2c29 100644
--- a/nixos/tests/containers-macvlans.nix
+++ b/nixos/tests/containers-macvlans.nix
@@ -26,9 +26,9 @@ import ./make-test.nix ({ pkgs, ...} : {
interface = "eth1";
mode = "bridge";
};
- networking.interfaces.eth1.ip4 = lib.mkForce [];
+ networking.interfaces.eth1.ipv4.addresses = lib.mkForce [];
networking.interfaces.mv-eth1-host = {
- ip4 = [ { address = "192.168.1.1"; prefixLength = 24; } ];
+ ipv4.addresses = [ { address = "192.168.1.1"; prefixLength = 24; } ];
};
containers.test1 = {
@@ -37,7 +37,7 @@ import ./make-test.nix ({ pkgs, ...} : {
config = {
networking.interfaces.mv-eth1 = {
- ip4 = [ { address = containerIp1; prefixLength = 24; } ];
+ ipv4.addresses = [ { address = containerIp1; prefixLength = 24; } ];
};
};
};
@@ -48,7 +48,7 @@ import ./make-test.nix ({ pkgs, ...} : {
config = {
networking.interfaces.mv-eth1 = {
- ip4 = [ { address = containerIp2; prefixLength = 24; } ];
+ ipv4.addresses = [ { address = containerIp2; prefixLength = 24; } ];
};
};
};