Add fnux's SSH key to every image for testing purposes

This commit is contained in:
fnux 2020-01-22 18:07:25 +01:00
parent e809052e29
commit 3df0ce3027
3 changed files with 12 additions and 0 deletions

View File

@ -144,5 +144,9 @@ rm -f /var/lib/systemd/random-seed
# Remove temporary files and reclaim freed disk space.
run_root apt-get clean
# FIXME: add fnux's SSH key for testing purposes.
mkdir -p /mnt/root/.ssh
curl https://key.wf/fnux > /mnt/root/.ssh/authorized_keys
# Make sure everything is written to disk before exiting.
sync

View File

@ -146,5 +146,9 @@ rm -f /var/lib/systemd/random-seed
# Note: build logs could be removed as well.
run_root dnf clean all
# FIXME: add fnux's SSH key for testing purposes.
mkdir -p /mnt/root/.ssh
curl https://key.wf/fnux > /mnt/root/.ssh/authorized_keys
# Make sure everything is written to disk before exiting.
sync

View File

@ -141,5 +141,9 @@ rm -f /var/lib/systemd/random-seed
# Remove temporary files and reclaim freed disk space.
run_root apt-get clean
# FIXME: add fnux's SSH key for testing purposes.
mkdir -p /mnt/root/.ssh
curl https://key.wf/fnux > /mnt/root/.ssh/authorized_keys
# Make sure everything is written to disk before exiting.
sync