forked from DGNum/infrastructure
fix(modules/dgn-network): Make it work on web02
This is the only node still on 24.05 as the cas server is f*cked
This commit is contained in:
parent
1c74c67de6
commit
08d7dc46b3
1 changed files with 14 additions and 4 deletions
|
@ -17,8 +17,18 @@ let
|
||||||
net' = meta.network.${name};
|
net' = meta.network.${name};
|
||||||
|
|
||||||
mkAddress = { address, prefixLength, ... }: "${address}/${builtins.toString prefixLength}";
|
mkAddress = { address, prefixLength, ... }: "${address}/${builtins.toString prefixLength}";
|
||||||
mkRoute = gateway: {
|
mkRoute =
|
||||||
Gateway = gateway;
|
Gateway:
|
||||||
|
if name == "web02" then
|
||||||
|
{
|
||||||
|
routeConfig = {
|
||||||
|
inherit Gateway;
|
||||||
|
GatewayOnLink = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
inherit Gateway;
|
||||||
GatewayOnLink = true;
|
GatewayOnLink = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue