forked from zentralwerk/network
nixos-module/container/bird: disable radvd in c3d2-gw{1,2}
This commit is contained in:
parent
aba5796a57
commit
45174545f2
|
@ -11,8 +11,10 @@ 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 hostName == "c3d2-gw3"
|
||||||
|
then "c3d2"
|
||||||
|
else if m == [ "cls" ]
|
||||||
then "cluster"
|
then "cluster"
|
||||||
else if m == null
|
else if m == null
|
||||||
then null
|
then null
|
||||||
|
|
Loading…
Reference in New Issue
Block a user