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
+3 -3
View File
@@ -13,9 +13,9 @@ import ./make-test.nix ({ pkgs, ...} : {
virtualisation.vlans = [];
networking.bridges.br0.interfaces = [];
networking.interfaces.br0 = {
ip4 = [ { address = "10.11.0.254"; prefixLength = 24; } ];
};
networking.interfaces.br0.ipv4.addresses = [
{ address = "10.11.0.254"; prefixLength = 24; }
];
# Force /etc/hosts to be the only source for host name resolution
environment.etc."nsswitch.conf".text = lib.mkForce ''