Additional note here that if I don’t build from an external smart proxy but instead build from the smart proxy that is on the foreman server itself the kickstart works fine.
So I would assume the problem lies with --scenario foreman-proxy-content
If I got that correctly, you’re trying to proxy the kickstart templates through the smart-proxy. Did you enable the smart proxy template plugin? What features do you see in Foreman for that Proxy? What do you see in the logs in case you try to fetch that manually, e.g. using curl? The 404 indicates the API endpoint is not found on the smart proxy, which could be explained by disabled templates plugin. Normally, Anaconda fetches the rendered kickstart directly from Foreman. The URL is determined by the enabled smart proxy features.
I was able to get my kickstart through the smart-proxy working by running this on the smart proxy
foreman-installer --scenario foreman-proxy-content --foreman-proxy-templates-listen-on both
The default values of the installer variables are what got me into trouble
These two default values seem to be mutually exclusive, correct me if I’m wrong.
--reset-foreman-proxy-template-url Reset template_url to the default value ("http://lab0l51.virtual.home.arpa:8000")
--reset-foreman-proxy-templates-listen-on Reset templates_listen_on to the default value ("https")
I did try just pointing my foreman-proxy-template-url to port 8443 instead and kickstart failed because of the self signed cert.