diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-03-31 18:59:55 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-03-31 19:01:10 +0100 |
commit | 0526d015b68db413e8b422c04ed51814bb90e424 (patch) | |
tree | 1da1200b15a7ef73f9d542f5809b8f4f121a507b /nixos/tests/containers-physical_interfaces.nix | |
parent | 55fadc51b345465049d0c72a048bf787ab85cc0f (diff) | |
download | nixpkgs-0526d015b68db413e8b422c04ed51814bb90e424.tar nixpkgs-0526d015b68db413e8b422c04ed51814bb90e424.tar.gz nixpkgs-0526d015b68db413e8b422c04ed51814bb90e424.tar.bz2 nixpkgs-0526d015b68db413e8b422c04ed51814bb90e424.tar.lz nixpkgs-0526d015b68db413e8b422c04ed51814bb90e424.tar.xz nixpkgs-0526d015b68db413e8b422c04ed51814bb90e424.tar.zst nixpkgs-0526d015b68db413e8b422c04ed51814bb90e424.zip |
nixos/containers-physical_interfaces: use new bond option interface
Diffstat (limited to 'nixos/tests/containers-physical_interfaces.nix')
-rw-r--r-- | nixos/tests/containers-physical_interfaces.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/containers-physical_interfaces.nix b/nixos/tests/containers-physical_interfaces.nix index bd1228b8e37..bde8e175f95 100644 --- a/nixos/tests/containers-physical_interfaces.nix +++ b/nixos/tests/containers-physical_interfaces.nix @@ -52,7 +52,7 @@ import ./make-test.nix ({ pkgs, ...} : { config = { networking.bonds.bond0 = { interfaces = [ "eth1" ]; - mode = "active-backup"; + driverOptions.mode = "active-backup"; }; networking.interfaces.bond0.ipv4.addresses = [ { address = "10.10.0.3"; prefixLength = 24; } @@ -73,7 +73,7 @@ import ./make-test.nix ({ pkgs, ...} : { config = { networking.bonds.bond0 = { interfaces = [ "eth1" ]; - mode = "active-backup"; + driverOptions.mode = "active-backup"; }; networking.bridges.br0.interfaces = [ "bond0" ]; networking.interfaces.br0.ipv4.addresses = [ |