cleanup
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2022-09-08 15:15:17 +02:00
parent 78e049f6e0
commit a01a2b0186
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 0 additions and 14 deletions

14
test.sh
View File

@ -1,14 +0,0 @@
#!/usr/bin/env bash
set -eo pipefail
case "$1" in
keys)
if [ ! -f /root/.ssh/authorized_keys ]; then
curl -SsfL http://169.254.169.254/hetzner/v1/metadata/public-keys | /usr/bin/jq -r '.[]' >/root/.ssh/authorized_keys
fi
;;
*)
echo "Invalid command"
exit 3
;;
esac