From 57baaaa218b4e86ef5ac21588cef99745031403e Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 7 Apr 2022 17:09:19 +0100 Subject: [PATCH] CI: install pregenerated SSH keys to speed up boot 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 Signed-off-by: Jon Mason --- ci/base.yml | 2 ++ 1 file changed, 2 insertions(+) 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: