forked from zentralwerk/network
nixos-module/container/bird: add gatewayNet workaound for cls-gw
This commit is contained in:
parent
58dccf697f
commit
25be18358f
|
@ -6,7 +6,9 @@ let
|
||||||
gatewayNet =
|
gatewayNet =
|
||||||
let
|
let
|
||||||
m = builtins.match "(.+)-gw" hostName;
|
m = builtins.match "(.+)-gw" hostName;
|
||||||
in if m == null
|
in if m == [ "cls" ]
|
||||||
|
then "cluster"
|
||||||
|
else if m == null
|
||||||
then null
|
then null
|
||||||
else builtins.head m;
|
else builtins.head m;
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in New Issue