This will be fixed in a future release of the Portal. In the meantime, a workaround exists to manually edit the portal.sh script to allow for a new line to be added in a particular section:
As of Portal 4.4, the line number to add the statement below is below line 518, however this line number may be different in other versions of Portal. Be sure to look for the entire fragment to ensure this is being done in the right spot. Also, a backup is critically important.
Workaround steps:
- Append the following line after line 518 (as of Portal 4.4) in the portal.sh script: echo "TSSG_TENANT_ID={{ user.PORTAL_TENANT_ID }}" >> ${DOCKER_CONFIG}/env-db
- Save the file.
After modification, the block of code should look similar to the following:
function config { tag_line=$(grep -n '^UUE:$' "$0" | cut -d ':' -f 1) if [[ -z $tag_line ]]; then return fi DOCKER_CONFIG=$(mktemp -d) TEMP_CONFIG=${DOCKER_CONFIG} tail -n +$((tag_line + 1)) "$0" | base64 -d | tar xzC "$DOCKER_CONFIG" echo "TSSG_TENANT_ID={{ user.PORTAL_TENANT_ID }}" >> ${DOCKER_CONFIG}/env-db}