Hi,
I ran into the issue that the foreman_url that is used in the kickstart
template (provisioning Redhat) contains something like
"foreman.mydomain.com"
I am using a different hostname so after some googling (I found the
information about setting up emails) and I set this in my
/etc/foreman/settings.yaml
:foreman_url: puppet.mydomain.com
I stopped all, wiped /var/run/foreman/cache and restarted.
This setting was not picked up.
So I went deeper and hacked the default settings to be what I needed in here
/usr/share/foreman/app/models/setting/general.rb
Now my templates are all correct and I see the correct url.
What did I do wrong?
What is the correct way to set the foreman_url value?
Niels Basjes