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")