Add fnux's SSH key to every image for testing purposes
This commit is contained in:
parent
e809052e29
commit
3df0ce3027
3 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue