minor log cleanup

This commit is contained in:
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil 2024-07-25 14:57:30 -04:00
parent 726dfe04b5
commit 301e1f71d2
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ pushd $swidDir > /dev/null
fi fi
if [ "$UPLOAD_ARTIFACTS" = YES ]; then if [ "$UPLOAD_ARTIFACTS" = YES ]; then
echo "Uploading $swidtag to $SERVER_RIM_POST" echo "Uploading $swidtag to $SERVER_RIM_POST"
curl -k -F "file=@$swidtag" $SERVER_RIM_POST > /dev/null curl -k -F "file=@$swidtag" $SERVER_RIM_POST > /dev/null 2>&1
fi fi
done done
fi fi
@ -102,7 +102,7 @@ pushd $rimDir > /dev/null
fi fi
if [ "$UPLOAD_ARTIFACTS" = YES ]; then if [ "$UPLOAD_ARTIFACTS" = YES ]; then
echo "Uploading $rim to $SERVER_RIM_POST" echo "Uploading $rim to $SERVER_RIM_POST"
curl -k -F "file=@$rim" $SERVER_RIM_POST > /dev/null curl -k -F "file=@$rim" $SERVER_RIM_POST > /dev/null 2>&1
fi fi
done done
fi fi

View File

@ -70,7 +70,7 @@ uploadTrustedCerts() {
# Upload CA Cert from IBMTSS Tools # Upload CA Cert from IBMTSS Tools
echo "Uploading Trust Certificates to ${HIRS_ACA_HOSTNAME}:${HIRS_ACA_PORTAL_PORT}" echo "Uploading Trust Certificates to ${HIRS_ACA_HOSTNAME}:${HIRS_ACA_PORTAL_PORT}"
echo "Uploading the EK Certificate CA(s)..." echo "Uploading the EK Certificate CA(s)..."
docker exec -i $tpm2_container /bin/bash -c "curl -k -F 'file=@/ibmtss/utils/certificates/cacert.pem' $SERVER_CACERT_POST" > /dev/null docker exec -i $tpm2_container /bin/bash -c "curl -k -F 'file=@/ibmtss/utils/certificates/cacert.pem' $SERVER_CACERT_POST" > /dev/null 2>&1
echo "...done" echo "...done"
# Upload Trusted Certs from HIRS # Upload Trusted Certs from HIRS
echo "Uploading the Platform Certificate CA(s)..." echo "Uploading the Platform Certificate CA(s)..."