Hard coded information in scripts

Document ID : KB000016859
Last Modified Date : 08/06/2018
Show Technical Document Details

Unable to create a tenant using the create-tenant.sh script in Portal 4.2


The hostname apim-ssg hard coded in the create-tenant.sh script 
This should only work if the user has accepted the default portal name in the config.sh script 

Insert new line on line 6 
TENANT=$(grep ^PORTAL_TENANT_ID= ${USER_CONFIG} | cut -f2- -d= | tr -d '"') 

Change line 87: 
-X POST -k https://${TENANT}-ssg.${SUBDOMAIN}:9443/provision/tenants \ 

Change Line 99 
-X POST -k https://${TENANT}-ssg.${SUBDOMAIN}:9443/provision/tenants \ 


Re-run the create-tenant.sh script and the tenant should be created now.


Additional Information:

This problem is resolved in Portal which can be downloaded from here