summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
diff options
context:
space:
mode:
authordd <dd@wx.tnyzeq.icu>2024-09-25 21:00:11 +0200
committerdd <dd@wx.tnyzeq.icu>2024-09-25 21:00:11 +0200
commit1d7e6c42cb92dfbf57e9504f1648867b2264bc9c (patch)
tree52f784802a4f799f68e777435db09e23107354c3 /scripts/check-qemu-install
parent989ba3c04929db4754a6e042ba9614236607e78e (diff)
parenteff99f5eda19d5ddf324eb01abcc68577d942e62 (diff)
downloadvyos-build-1d7e6c42cb92dfbf57e9504f1648867b2264bc9c.tar.gz
vyos-build-1d7e6c42cb92dfbf57e9504f1648867b2264bc9c.zip
Merge branch 'vyos:current' into current
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-xscripts/check-qemu-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index f9671cd4..313e04f1 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -565,6 +565,11 @@ try:
c.sendline('systemd-detect-virt')
c.expect('kvm')
c.expect(op_mode_prompt)
+ # Ensure ephemeral key is loaded
+ vyos_kernel_key = 'VyOS build time autogenerated kernel key'
+ c.sendline(f'show log kernel | match "{vyos_kernel_key}"')
+ c.expect(f'.*{vyos_kernel_key}.*')
+ c.expect(op_mode_prompt)
#################################################
# Executing test-suite