fix hcloud call
This commit is contained in:
parent
25d14a25c2
commit
b2799fef2b
@ -22,7 +22,7 @@ steps:
|
||||
- ./hcloud ssh-key create --name drone --public-key-from-file /root/.ssh/id_ed25519.pub
|
||||
- ./hcloud server enable-rescue $SERVER_ID --ssh-key drone
|
||||
- ./hcloud server reset $SERVER_ID
|
||||
- IP="$(hcloud server ip "$SERVER_ID")"
|
||||
- IP="$(./hcloud server ip "$SERVER_ID")"
|
||||
- until ping -c 1 "$IP"; do sleep 5; done
|
||||
- until ssh-keyscan "$IP" > /root/.ssh/known_hosts; do sleep 5; done
|
||||
- scp install-arch.sh "root@${IP}:/root/install-arch.sh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user