increased ibmtpm timeouts

increased ibmtpm timeouts

increased ibmtpm timeouts

increased ibmtpm timeouts

increased ibmtpm timeouts

tpm shutdown added

tpm shutdown added

timeouts removed

timeout incremented

timeout incremented
This commit is contained in:
lareine 2022-02-22 08:52:56 -05:00
parent 3a7d597900
commit 7037bc1fc1

View File

@ -114,16 +114,23 @@ function resetTpm2Emulator {
echo "clearing the TPM PCR values"
rm -f /ibmtpm/src/NVChip
pushd /ibmtss/utils > /dev/null
./shutdown
popd > /dev/null
pkill -f "tpm2-abrmd"
pkill -f "tpm_server"
rm -f /ibmtpm/src/NVChip
/ibmtpm/src/./tpm_server &
sleep 1
# sleep 1
pushd /ibmtss/utils > /dev/null
./startup
sleep 1
# sleep 3
popd > /dev/null
tpm2-abrmd -t socket &
# sleep 1
tpm2_pcrlist -g sha256
}
# Function to update the hirs-site.config file