nixos/tests: rename IP addresses/routes options

This commit is contained in:
rnhmjoj
2018-02-17 14:57:07 +01:00
parent c1bed05e34
commit e239c1e582
16 changed files with 74 additions and 67 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ import ./make-test.nix ({ pkgs, ...} : {
};
networking.interfaces = {
br0 = {
ip4 = [{ address = hostIp; prefixLength = 24; }];
ip6 = [{ address = hostIp6; prefixLength = 7; }];
ipv4.addresses = [{ address = hostIp; prefixLength = 24; }];
ipv6.addresses = [{ address = hostIp6; prefixLength = 7; }];
};
};