I'm installing a new foreman server but i'm facing an issue i don't know
how to solve. Here is my set up :
A foreman server with two eth cards. One is in a dedicated provisioning LAN
(non routed) and the other in a range that can be accessed from anywhere.
Lets presume that the first eth0 (no routed) has the 10.0.0.1 IP and the
eth1 (on which the web interface is available) is 188.8.131.52 and has a dns
entry called foreman.srv.local
On the same server i configured a local httpd repo to deploy the OSes
(Centos,RHEL) bind on the eth0 interface.
To configure foreman i use the following command :
And then in the web interface i created two subnets:
LAN : 184.108.40.206/24 | Domains: srv.local
provisioning : 10.0.0.0/24 with no Domains
When i create a new host, i put an interface in the "LAN" subnet (Primary)
and the other one in the "provisioning" subnet with managed and Provision
When i boot the host, it boots with pxe and receives its bootloader. The
after a few seconds, it complains that it cannot retrieve the kickstart
file. It is normal because it tries to retrieve the file from
http://foreman.srv.local:80/provision… instead of
"foreman.srv.local" is the ip where the web interface is binded but it
cannot be reached from the provisioning lan. In the PXE template the url is
built with foreman_url(provision) but in my case it can't work.
What should i do to solve that ?