
Hey Nathenael, On 05/13/2015 06:28 PM, Nathanaƫl Blanchet wrote:
Hi all,
I've setup a foreman server, but when adding a new host by "discovered hosts", I can't modify the address item which is default filled with a built "mac-DNS".
Not exactly, it set the address field to be the name you choose for the host dot (.) the domain that related to the picked host-group
In ovirt setup, I want to identify my future hosts by their IP and not their unknown DNS name like it is described here: http://www.ovirt.org/Features/ForemanIntegration.
IP addresses can and should be dynamic based on your DHCP server configuration, but DNS name should stay the same. Adding the host that way to engine uses satellite to configure its DNS entry and other network configurations. That's why we lock the address field and fill it with the future FQDN.
How can I setup foreman to do such a thing? Is the setup of the DNS proxy related?
Yes, the DNS setup is related to it. We depend on it. Using IP address might brake the integration between engine and satellite when the DHCP service is configured with address ttl option and can give the host different IP address in next boot. So currently we don't support address modification with Discovered\Provisioned Hosts
If that answer is not clear feel free to ping me in irc (ybronhei @freenode #ovirt) or reply here Regards, -- Yaniv Bronhaim.