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" echo "clearing the TPM PCR values"
pkill -f "tpm2-abrmd" #pkill -f "tpm2-abrmd"
pkill -f "tpm_server" #pkill -f "tpm_server"
rm -rf /ibmtpm/tpmvstudio/tpm_server rm /ibmtpm/src/NVChip
/ibmtpm/src/./tpm_server & # /ibmtpm/src/./tpm_server &
sleep 1 # sleep 1
pushd /ibmtss/utils > /dev/null # pushd /ibmtss/utils > /dev/null
./startup # ./startup
sleep 3 # sleep 1
popd > /dev/null # popd > /dev/null
tpm2-abrmd -t socket & # tpm2-abrmd -t socket &
} }
# Function to update the hirs-site.config file # Function to update the hirs-site.config file