forked from zentralwerk/network
nixos-module/container/bird: enable radvd for c3d2-gw*
This commit is contained in:
parent
762a9df69c
commit
280292b631
|
@ -11,7 +11,7 @@ let
|
||||||
# Configuring a gateway? If so, this is the associated net.
|
# Configuring a gateway? If so, this is the associated net.
|
||||||
gatewayNet =
|
gatewayNet =
|
||||||
let
|
let
|
||||||
m = builtins.match "(.+)-gw" hostName;
|
m = builtins.match "(.+)-gw.*" hostName;
|
||||||
in if m == [ "cls" ]
|
in if m == [ "cls" ]
|
||||||
then "cluster"
|
then "cluster"
|
||||||
else if m == null
|
else if m == null
|
||||||
|
|
Loading…
Reference in New Issue
Block a user