diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-21 21:22:54 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-21 21:22:54 -0500 |
commit | 9b041cb849e37e830ede9f95a2034b0a538cebfb (patch) | |
tree | 9e4cf1661177e871707a2fce1d80af7ba918f4f5 | |
parent | fe6dc47624217a439cc214a00d5d0e7d583a9b66 (diff) | |
download | puppet-tozt-9b041cb849e37e830ede9f95a2034b0a538cebfb.tar.gz puppet-tozt-9b041cb849e37e830ede9f95a2034b0a538cebfb.zip |
fix config for 0.22 (0.23 isn't released yet)
-rwxr-xr-x | modules/headscale/facts.d/bind_address | 8 | ||||
-rw-r--r-- | modules/headscale/templates/config.yaml | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/modules/headscale/facts.d/bind_address b/modules/headscale/facts.d/bind_address deleted file mode 100755 index 2e8236a..0000000 --- a/modules/headscale/facts.d/bind_address +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -eu -set -o pipefail - -address="$(curl --connect-timeout 1 -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address || true)" -if [ -n "$address" ]; then - printf "bind_address=%s" "$address" -fi diff --git a/modules/headscale/templates/config.yaml b/modules/headscale/templates/config.yaml index 134f331..16512d4 100644 --- a/modules/headscale/templates/config.yaml +++ b/modules/headscale/templates/config.yaml @@ -11,8 +11,6 @@ derp: server: enabled: true stun_listen_addr: 0.0.0.0:3478 - private_key_path: <%= @data_dir %>/derp_server_private.key - ipv4: <%= @bind_address %> disable_check_updates: true db_type: sqlite3 db_path: <%= @data_dir %>/db.sqlite |