From 5c75d2ceeca8027f77fe6386819a1631014f1081 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:18:25 +0000 Subject: [PATCH] podvm-mkosi: convenience alias to query PCRs It is a commen task to check the pcrs when using measured boot, so we are providing an alias to do that with ease. Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- podvm-mkosi/mkosi.skeleton/etc/profile.d/10-alias.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/podvm-mkosi/mkosi.skeleton/etc/profile.d/10-alias.sh b/podvm-mkosi/mkosi.skeleton/etc/profile.d/10-alias.sh index 50d425a31d..0d51b5b8f2 100644 --- a/podvm-mkosi/mkosi.skeleton/etc/profile.d/10-alias.sh +++ b/podvm-mkosi/mkosi.skeleton/etc/profile.d/10-alias.sh @@ -5,3 +5,4 @@ alias neofetch='neofetch \ --ascii /etc/neofetch/coco.ascii \ --colors 9 9 9 9 9 12 \ --ascii_colors 24 9' +alias pcrs='tpm2_pcrread sha256:all'