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
+1 -1
View File
@@ -35,7 +35,7 @@ import ./make-test.nix ({ pkgs, lib, withFirewall, withConntrackHelpers ? false,
{ virtualisation.vlans = [ 1 ];
networking.firewall.allowPing = true;
networking.defaultGateway =
(pkgs.lib.head nodes.router.config.networking.interfaces.eth2.ip4).address;
(pkgs.lib.head nodes.router.config.networking.interfaces.eth2.ipv4.addresses).address;
}
(lib.optionalAttrs withConntrackHelpers {
networking.firewall.connectionTrackingModules = [ "ftp" ];