Commit 1115f5d8 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

Verify vagrant public SSH key

parent d10e8765
Pipeline #3549 passed with stages
in 25 minutes and 38 seconds
......@@ -27,7 +27,9 @@ EOF
# install vagrant ssh key
arch-chroot "${MOUNT}" /bin/bash -e <<EOF
install --directory --owner=vagrant --group=vagrant --mode=0700 /home/vagrant/.ssh
curl --output /home/vagrant/.ssh/authorized_keys --location
curl --output /home/vagrant/.ssh/authorized_keys --location
# WARNING: Please only update the hash if you are 100% sure it was intentionally updated by upstream.
sha256sum -c <<< "9aa9292172c915821e29bcbf5ff42d4940f59d6a148153c76ad638f5f4c6cd8b /home/vagrant/.ssh/authorized_keys"
chown vagrant:vagrant /home/vagrant/.ssh/authorized_keys
chmod 0600 /home/vagrant/.ssh/authorized_keys
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment