Deleted NVChip file during reset

Deleted NVChip file during reset
This commit is contained in:
lareine 2022-02-18 09:19:10 -05:00
parent 85e7999d8b
commit c8ced804d9

View File

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