diff options
author | Alex Auvolat <alex@adnab.me> | 2023-04-05 10:25:22 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-04-05 10:25:22 +0200 |
commit | cb8d7e92d2aa2950fa403ff8e2ec2a9a31b48b32 (patch) | |
tree | 24a124dcae86ddad42cae9f12fb28ccb58a6fd50 /cluster | |
parent | a31c6d109e95a33e165d43c4a47de54ea53ca436 (diff) | |
download | nixcfg-cb8d7e92d2aa2950fa403ff8e2ec2a9a31b48b32.tar.gz nixcfg-cb8d7e92d2aa2950fa403ff8e2ec2a9a31b48b32.zip |
staging: ipv6-only diplonat for automatic address discovery
Diffstat (limited to 'cluster')
-rw-r--r-- | cluster/staging/app/core/deploy/core-system.hcl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cluster/staging/app/core/deploy/core-system.hcl b/cluster/staging/app/core/deploy/core-system.hcl index 05fa0f2..dba6b95 100644 --- a/cluster/staging/app/core/deploy/core-system.hcl +++ b/cluster/staging/app/core/deploy/core-system.hcl @@ -13,7 +13,6 @@ job "core-system" { stagger = "1m" } -/* group "diplonat" { task "diplonat" { driver = "nix2" @@ -21,7 +20,7 @@ job "core-system" { config { packages = [ "#iptables", - "git+https://git.deuxfleurs.fr/Deuxfleurs/diplonat.git?ref=main&rev=f306e8dc8d0e93478353ce39b6064e8c06a8bca6" + "git+https://git.deuxfleurs.fr/Deuxfleurs/diplonat.git?ref=stun&rev=21ab77b8288630c5f39a30b098c6a3888df622a1" ] command = "diplonat" } @@ -53,6 +52,7 @@ job "core-system" { data = <<EOH DIPLONAT_REFRESH_TIME=60 DIPLONAT_EXPIRATION_TIME=300 +DIPLONAT_IPV6_ONLY=true DIPLONAT_CONSUL_NODE_NAME={{ env "attr.unique.hostname" }} DIPLONAT_CONSUL_URL=https://localhost:8501 DIPLONAT_CONSUL_CA_CERT=/etc/diplonat/consul-ca.crt @@ -69,7 +69,6 @@ EOH } } } - */ group "tricot" { network { |