I installed Foreman (1.22) /Katello (3.12) and a smart proxy (1.22) and they seem to be talking to each other. Under smart proxy I see HTTPboot, Puppet/CA, Pulp Nodes, Logs, tftp and templates as being active features.
However, when I build the default PXE menu, the file on the smart proxy is still pointing to the main Foreman URL.
I checked that :http_port:8000 is uncommented in settings.yml.
settings.d/templates.yml has :template_url: pointing to smartproxy.domain.com:8000
I also have pointed the template proxy and tftp proxy to the smart proxy in the subnet setting for the smart proxy subnet.
With this setup, the smart proxy is forwarding requests for getting the kickstart file back to the main foreman server. So when the main server is down, the smart proxy stops serving the kickstart file.
I cannot browse the kickstart file on the smart proxy at the same location like the foreman server (after changing just the hostname). But if I use the :8000 port, I can see the kickstart file.
How do I update the URL on default pxelinux.cfg file in the smart proxy to point to the smart proxy URL?
Thanks for your help!