chore: add labels for metrics

This commit is contained in:
Andrew Baumbach 2025-08-12 10:51:31 -04:00 committed by Push From Github
parent 6600b4214c
commit 4acd08e25e

View File

@ -44,6 +44,8 @@ msg_info "Writing config"
echo "TWINGATE_NETWORK=${network}"
echo "TWINGATE_ACCESS_TOKEN=${access_token}"
echo "TWINGATE_REFRESH_TOKEN=${refresh_token}"
echo "TWINGATE_LABEL_HOSTNAME=$(hostname)"
echo "TWINGATE_LABEL_DEPLOYED_BY=proxmox"
} > /etc/twingate/connector.conf
chmod 600 /etc/twingate/connector.conf
msg_ok "Config written"