fix: markdown

properly render a list
add missing punctuation
This commit is contained in:
Raphael Megzari 2020-11-06 11:00:46 +09:00 committed by GitHub
parent dd82456dd2
commit ab1bb524f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,21 @@
# Instructions # Instructions
1. Create a server with any distribution (Ubuntu for exemple) from the Hetzner UI 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 2. In your server options on the Hetzner UI click on `Mount image`. Find the NixOS image and mount 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. 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.
3.a On the top right of the server details click on the icon `>_`. - On the top right of the server details click on the icon `>_`.
3.b fork this repo and replace your SSH public key in the script. Make a commit on a new branch for example. - fork this repo and replace your SSH public key in the script. Make a commit on a new branch for example.
3.c 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) - 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)
3.d paste the following command into your console gui `curl -L YOUR_URL | sudo bash` - 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 4. on your own computer you can now ssh into the newly created machine.
# Troubleshooting # Troubleshooting
## SSH `WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!` ## SSH `WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!`
if you have sshed into your server before installing NixOS, you will have to remove the server from your .know-hosts file. if you have already ssh-ed into your server before installing NixOS, you will have to remove the server from your .know-hosts file.
Open the file (located in your .ssh directory) and delete the entry corresponding to the server. Open the file (located in your .ssh directory) and delete the entry corresponding to the server.
## Curl 404 error ## Curl 404 error
if you copy and paste a url from the Hetzner console GUI, some characters can get replaced (If you are using an English/US keyboard layout for example). Just replace the offending characters (check the punctuation especially, @:_ and the like) if you copy and paste a url from the Hetzner console GUI, some characters can get replaced (If you are using an English/US keyboard layout for example). Just replace the offending characters (check the punctuation especially, @:_ and the likes).