nixos/containers-physical_interfaces: use new bond option interface

This commit is contained in:
Jörg Thalheim 2018-03-31 18:59:55 +01:00
parent 55fadc51b3
commit 0526d015b6

View file

@ -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 = [