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.
|
# Remove temporary files and reclaim freed disk space.
|
||||||
run_root apt-get clean
|
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.
|
# Make sure everything is written to disk before exiting.
|
||||||
sync
|
sync
|
||||||
|
|
|
@ -146,5 +146,9 @@ rm -f /var/lib/systemd/random-seed
|
||||||
# Note: build logs could be removed as well.
|
# Note: build logs could be removed as well.
|
||||||
run_root dnf clean all
|
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.
|
# Make sure everything is written to disk before exiting.
|
||||||
sync
|
sync
|
||||||
|
|
|
@ -141,5 +141,9 @@ rm -f /var/lib/systemd/random-seed
|
||||||
# Remove temporary files and reclaim freed disk space.
|
# Remove temporary files and reclaim freed disk space.
|
||||||
run_root apt-get clean
|
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.
|
# Make sure everything is written to disk before exiting.
|
||||||
sync
|
sync
|
||||||
|
|
Loading…
Reference in a new issue