diff --git a/nixos/tests/kubernetes.nix b/nixos/tests/kubernetes.nix index e5fe8d2b8795..3e647026ea4a 100644 --- a/nixos/tests/kubernetes.nix +++ b/nixos/tests/kubernetes.nix @@ -45,7 +45,7 @@ import ./make-test.nix rec { nodes = { master = - { config, pkgs, nodes, ... }: + { config, pkgs, lib, nodes, ... }: { virtualisation.memorySize = 512; virtualisation.kubernetes = { @@ -75,6 +75,7 @@ import ./make-test.nix rec { ipAddress = "10.10.0.1"; prefixLength = 24; }; + eth2.ip4 = lib.mkOverride 0 [ ]; }; networking.localCommands = '' ip route add 10.10.0.0/16 dev cbr0 @@ -89,7 +90,7 @@ import ./make-test.nix rec { }; node = - { config, pkgs, nodes, ... }: + { config, pkgs, lib, nodes, ... }: { virtualisation.kubernetes = { roles = ["node"]; @@ -112,6 +113,7 @@ import ./make-test.nix rec { ipAddress = "10.10.1.1"; prefixLength = 24; }; + eth2.ip4 = lib.mkOverride 0 [ ]; }; networking.localCommands = '' ip route add 10.10.0.0/16 dev cbr0