change sshkey
This commit is contained in:
parent
180baae73d
commit
9e748edb78
1 changed files with 1 additions and 1 deletions
2
shcloud
2
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")
|
||||
|
|
Loading…
Reference in a new issue