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 -3
View File
@@ -11,9 +11,7 @@ import ../make-test.nix ({ pkgs, lib, ... }:
{ config, pkgs, ... }:
{
boot.kernelParams = [
"ip=${
(head config.networking.interfaces.eth1.ip4).address
}:::255.255.255.0::eth1:none"
"ip=${config.networking.primaryIPAddress}:::255.255.255.0::eth1:none"
];
boot.initrd.network = {
enable = true;