[1/7] CI: install pregenerated SSH keys to speed up boot

Message ID 20220407160925.3809765-1-ross.burton@arm.com
State New
Headers show
Series [1/7] CI: install pregenerated SSH keys to speed up boot | expand

Commit Message

Ross Burton April 7, 2022, 4:09 p.m. UTC
As we're in a CI environment there's no need to generate unique SSH keys
on boot.  Installing the pregenerated SSH keys means they don't need to
be generated, which saves a reasonable amount of boot time due to the
lack of entropy if virtio-rng isn't available.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ci/base.yml | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/ci/base.yml b/ci/base.yml
index eb5637d4..4c997463 100644
--- a/ci/base.yml
+++ b/ci/base.yml
@@ -42,6 +42,8 @@  local_conf_header:
     QEMU_USE_KVM = ""
   perf: |
     CORE_IMAGE_EXTRA_INSTALL += "perf"
+  sshkeys: |
+    CORE_IMAGE_EXTRA_INSTALL += "ssh-pregen-hostkeys"
 machine: unset
 
 target: