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.
This problem is resolved in Portal 4.2.0.1 which can be downloaded from here