chmod
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Patrick Michl 2022-02-20 23:23:15 +01:00
parent 4f72982cd5
commit fc158c2a25

View File

@ -29,6 +29,7 @@ steps:
- 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 chmod +x /root/install-arch.sh
- 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