From 1c9c97e54465ba00977db485401c1f42cce8ec5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Tue, 12 Sep 2023 08:03:42 +0200 Subject: [PATCH] add fe to hetzner-list --- functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index 36af78f..928788c 100755 --- a/functions.sh +++ b/functions.sh @@ -637,7 +637,8 @@ EOF function update-hetzner-serverlist() { - for i in basic-services sc xe tu; do + for i in basic-services sc xe tu fe; do + echo "Retrieve servers for ${i}" curl -s -H "Authorization: Bearer $(pass show hetzner.com/projects/${i}/api-token)" \ https://api.hetzner.cloud/v1/servers \ | /usr/bin/jq '.servers[].public_net.ipv4.ip'|sed -e 's/\"//g' \