I'm thinking this is a configuration that needs to be changed manually before running the main installation script (However, it would be nice if the tasks took care of this automatically :)). The Sitecore Identity Server and Sitecore Commerce Engine packages are fed configurations via JSON files under their respective wwwroot folder. If you unzip the Sitecore.IdentityServer.*.zip and Sitecore.Commerce.Engine.*zip files, you will notice the JSON files point to localhost (or .). Some examples to check this out:
- ./wwwroot/data/environments/Plugin.Content.PolicySet. <-- This file contains Sitecore connection info that will need to be changed, i.e. Sitecore URL, account credentials, etc.
At any rate, if you need to change the connection string/sitecore info in these JSON configuration files, try the following:
1) Unzip the contents
2) Modify the JSON files' connection string/Sitecore instance info
3) Re-zip the contents. Make sure you use the same name as the original zip file
4) Fire the SIF Installation script :)
Hope this helps!