das ist doch kaputt
This commit is contained in:
parent
e93e93ab41
commit
4f72982cd5
@ -26,9 +26,9 @@ steps:
|
|||||||
- IP="$(./hcloud server ip "$SERVER_ID")"
|
- IP="$(./hcloud server ip "$SERVER_ID")"
|
||||||
- until ping -c 1 "$IP"; do sleep 5; done
|
- until ping -c 1 "$IP"; do sleep 5; done
|
||||||
- until ssh-keyscan "$IP" > /root/.ssh/known_hosts; 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
|
- scp install-arch.sh root@"$IP":/root/install-arch.sh
|
||||||
- echo "$SSH_PUBKEY" > authorized_keys
|
- echo "$SSH_PUBKEY" > authorized_keys
|
||||||
- scp authorized_keys root@${IP}:/root/authorized_keys
|
- scp authorized_keys root@"$IP":/root/authorized_keys
|
||||||
- ssh root@$IP /root/install-arch.sh
|
- ssh root@$IP /root/install-arch.sh
|
||||||
- ./hcloud server reset $SERVER_ID
|
- ./hcloud server reset $SERVER_ID
|
||||||
- ./hcloud ssh-key delete drone
|
- ./hcloud ssh-key delete drone
|
||||||
|
Loading…
x
Reference in New Issue
Block a user