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
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:
parent
1c74c67de6
commit
08d7dc46b3
1 changed files with 14 additions and 4 deletions
|
@ -17,10 +17,20 @@ let
|
|||
net' = meta.network.${name};
|
||||
|
||||
mkAddress = { address, prefixLength, ... }: "${address}/${builtins.toString prefixLength}";
|
||||
mkRoute = gateway: {
|
||||
Gateway = gateway;
|
||||
GatewayOnLink = true;
|
||||
};
|
||||
mkRoute =
|
||||
Gateway:
|
||||
if name == "web02" then
|
||||
{
|
||||
routeConfig = {
|
||||
inherit Gateway;
|
||||
GatewayOnLink = true;
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
inherit Gateway;
|
||||
GatewayOnLink = true;
|
||||
};
|
||||
|
||||
mkInterface = interface: net: {
|
||||
name = "10-${interface}";
|
||||
|
|
Loading…
Reference in a new issue