preseed URL hardcoded to http (patch)
The preseed url in the tftp file was incorect for me:
I found another ticket which said that it was worked out from the URL you visit foreman on when clicking "Build".
Ideally I guess this isn't right - I might be accessing foreman from a different network than the host being built.
The attached patch fixes this - not sure it's the right way (I very rarely write ruby or rails!)
The preseed itself isn't working so I need to look at that, but at least this fixes one issue :-)
#3 Updated by Dominic Cleal over 6 years ago
- Description updated (diff)
- Status changed from New to Resolved
- % Done changed from 0 to 100
As you say, many installers don't support HTTPS so we switch the protocol to HTTP. Newer generation ones (like the recent anaconda rewrite) now do HTTPS though, so perhaps we can switch in the future.
For the original issue, the fix added in #3569 should resolve this for you. It adds a new unattended_url setting which is always used for URLs in templates, so no host, port or protocol should leak from the web browser request (it defaults to HTTP too).