initrd/bin/talos-init: disable fast-reset

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
Sergii Dmytruk 2023-06-06 00:54:50 +03:00
parent 71b0f8dac9
commit abd99a0f28
No known key found for this signature in database
GPG Key ID: 48579AA47429663E

View File

@ -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