force bond gateway to rule over base
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
{
|
||||
boot.kernelModules = [ "bonding" ];
|
||||
|
||||
networking.defaultGateway.interface = "bond0";
|
||||
networking.defaultGateway.interface = lib.mkForce "bond0";
|
||||
|
||||
networking.bonds.bond0 = {
|
||||
interfaces = map (i: i.name) config.vars.interfaces;
|
||||
|
||||
Reference in New Issue
Block a user