diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-03-29 21:17:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-29 21:17:20 +0000 |
commit | ac7b25a982dfabc8bd69a13c8b8a2ce094e32205 (patch) | |
tree | 758c531d7f5eac07295dddcdc364b0574e7ffa32 /bin/abrmdcontainer/create_primary.sh | |
parent | b50920e538a6e0b6a1ee4835f59956835efe3f7f (diff) | |
parent | e9d7749328010a7d243c4eabb5e61a59932ecbcb (diff) |
Merge "Update Initialization tool"
Diffstat (limited to 'bin/abrmdcontainer/create_primary.sh')
-rwxr-xr-x | bin/abrmdcontainer/create_primary.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/abrmdcontainer/create_primary.sh b/bin/abrmdcontainer/create_primary.sh index 3d4f0f9..dec3f75 100755 --- a/bin/abrmdcontainer/create_primary.sh +++ b/bin/abrmdcontainer/create_primary.sh @@ -24,10 +24,10 @@ tpm2_readpublic -H ${SRKHANDLE} --opu out_primary_public -T device -V if [ $? -ne 0 ]; then echo; echo -e "${YELLOW} Primary Key does not exist, creating..."; rm -f PrimaryKeyBlob - echo "tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -A o -g 0x000B + echo "tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -H o -g 0x000B -G 0x0001 -T device -V -C PrimaryKeyBlob" - tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -A o -g 0x000B \ + tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -H o -g 0x000B \ -G 0x0001 -T device -V -C PrimaryKeyBlob if [ $? -ne 0 ]; then echo; echo -e "${RED}Error, Exit."; @@ -59,4 +59,4 @@ if [ $? -ne 0 ]; then echo; echo -e "${YELLOW} Primary Key does not exist, creat rm -f PrimaryKeyBlob fi -#END
\ No newline at end of file +#END |