From 9e748edb78d50827df3a42372ca05c6438cfb2a1 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Mon, 4 Jul 2022 07:43:32 +0200 Subject: [PATCH] change sshkey --- shcloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shcloud b/shcloud index 51012ca..3cceea6 100755 --- a/shcloud +++ b/shcloud @@ -73,7 +73,7 @@ then -X POST \ -H "Authorization: Bearer $API_TOKEN" \ -H "Content-Type: application/json" \ - -d '{"name":"shcloud-fsn1","location":"fsn1","server_type":"'$type'","image":"debian-11","ssh_keys":["shcloud"],"volumes":['$VOLUME_ID'],"user_data":"#!/bin/bash\ncurl -sL ar21.de/shinit.php?IPv6='$IPv6'\\&GAME='$GAME'\\&VOLUME='$VOLUME_ID' | bash"}' \ + -d '{"name":"shcloud-fsn1","location":"fsn1","server_type":"'$type'","image":"debian-11","ssh_keys":["secondhemd"],"volumes":['$VOLUME_ID'],"user_data":"#!/bin/bash\ncurl -sL ar21.de/shinit.php?IPv6='$IPv6'\\&GAME='$GAME'\\&VOLUME='$VOLUME_ID' | bash"}' \ 'https://api.hetzner.cloud/v1/servers' -s) #echo $deploy server_id=$(echo $deploy | jq ".server.id")