nixos/containers-physical_interfaces: use new bond option interface
This commit is contained in:
parent
55fadc51b3
commit
0526d015b6
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user