fix(modules/dgn-network): Make it work on web02
All checks were successful
Build all the nodes / ap01 (pull_request) Successful in 1m11s
Build all the nodes / storage01 (pull_request) Successful in 2m24s
Build all the nodes / web02 (pull_request) Successful in 2m4s
Build all the nodes / compute01 (pull_request) Successful in 1h40m50s
Build all the nodes / bridge01 (pull_request) Successful in 1m57s
Build all the nodes / vault01 (pull_request) Successful in 1m51s
Build all the nodes / web03 (pull_request) Successful in 1m40s
Check meta / check_meta (pull_request) Successful in 20s
Build all the nodes / geo02 (pull_request) Successful in 1m59s
Check meta / check_dns (pull_request) Successful in 20s
Build all the nodes / geo01 (pull_request) Successful in 2m9s
Check workflows / check_workflows (pull_request) Successful in 28s
Build all the nodes / rescue01 (pull_request) Successful in 2m23s
Run pre-commit on all files / pre-commit (pull_request) Successful in 38s
Build all the nodes / web01 (pull_request) Successful in 2m36s
Run pre-commit on all files / pre-commit (push) Successful in 52s

This is the only node still on 24.05 as the cas server is f*cked
This commit is contained in:
Tom Hubrecht 2024-12-15 23:31:34 +01:00
parent 1c74c67de6
commit 08d7dc46b3
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -17,8 +17,18 @@ let
net' = meta.network.${name};
mkAddress = { address, prefixLength, ... }: "${address}/${builtins.toString prefixLength}";
mkRoute = gateway: {
Gateway = gateway;
mkRoute =
Gateway:
if name == "web02" then
{
routeConfig = {
inherit Gateway;
GatewayOnLink = true;
};
}
else
{
inherit Gateway;
GatewayOnLink = true;
};