From abd99a0f2806e79d7214897cfecf195ceded02a2 Mon Sep 17 00:00:00 2001 From: Sergii Dmytruk Date: Tue, 6 Jun 2023 00:54:50 +0300 Subject: [PATCH] initrd/bin/talos-init: disable fast-reset Signed-off-by: Sergii Dmytruk --- initrd/bin/talos-init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/initrd/bin/talos-init b/initrd/bin/talos-init index 3dbb7400..956f227f 100755 --- a/initrd/bin/talos-init +++ b/initrd/bin/talos-init @@ -8,6 +8,10 @@ devmem 0x80060300D0010081 8 254 devmem 0x80060300D0010082 8 254 +# Disable fast-reset which doesn't reset TPM and results in different values of +# PRCs every time. +nvram -p ibm,skiboot --update-config fast-reset=0 + # Alias for cbmem to remove need for '-f' option in every call echo "alias cbmem='cbmem -f /sys/firmware/cbmem'" >> $HOME/.profile export ENV=$HOME/.profile