Compare commits

..

No commits in common. "e6c312ab512b3ce2a7597433bb438fb730947027" and "ff00da29c138232f30ed0108c90b9e68302002f1" have entirely different histories.

2 changed files with 2 additions and 8 deletions

View file

@ -1,7 +1 @@
# Provisioner stage 1
Run the script
```
bash <(curl -s https://git.faercol.me/faercol/provisioner-stage1/raw/branch/main/installer.sh)
```
# Provisioner stage 1

View file

@ -55,7 +55,7 @@ configure_git_access() {
fi
key_val="$(cat "$HOME"/.ssh/"${used_key}".pub)"
key_name="$USER-$(cat /etc/hostname)-$(cat /etc/machine-id)"
key_name="$USER-$(cat /etc/hostname)"
key_body="{\"key\":\"$key_val\",\"read_only\":false,\"title\":\"$key_name\"}"
display_step "Posting public key to gitea API"
curl -f -S -o /dev/null -X 'POST' \