hetzner-cloud: README: Small fixes

This commit is contained in:
Niklas Hambüchen 2020-12-25 22:09:24 +01:00 committed by GitHub
parent 0f865e96ca
commit 40a96ea856
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,12 @@
# Instructions
1. Create a server with any distribution (Ubuntu for exemple) from the Hetzner UI.
2. In your server options on the Hetzner UI click on `Mount image`. Find the NixOS image and mount it.
1. Create a server with any distribution (Ubuntu for example) from the Hetzner UI.
2. In your server options on the Hetzner UI click on `Mount image`. Find the NixOS image and mount it. Reboot the server into it.
3. You won't be able to ssh into your server. You will have to do the following steps by logging in with the Hetzner UI.
- On the top right of the server details click on the icon `>_`.
- fork this repo and replace your SSH public key in the script. Make a commit on a new branch for example.
- get the url of the script you created (should look like https://raw.github.com/YOUR_USER_NAME/nixos-install-scripts/YOUR_BRANCH_NAME/hosters/hetzner-cloud/nixos-install-hetzner-cloud.sh).
- paste the following command into your console gui `curl -L YOUR_URL | sudo bash`.
- Fork this repo and replace your SSH public key in the script. For exapmle, make a commit on a new branch.
- Get the URL of the script you created (might look like `https://raw.github.com/YOUR_USER_NAME/nixos-install-scripts/YOUR_BRANCH_NAME/hosters/hetzner-cloud/nixos-install-hetzner-cloud.sh`).
- Paste the following command into your console gui `curl -L YOUR_URL | sudo bash`.
4. on your own computer you can now ssh into the newly created machine.
# Troubleshooting