PXE Boot from eth0 but use eth1 as Primary interface in Foreman networking (feature request?)

I have a less than straightforward request from my supervisor that I'm
having trouble getting foreman to do.

We currently use eth0 (private) as the primary interface in Foreman.
Then eth1 (public) as the secondary.

We PXEboot from the primary interface and thus the hostname of the machine
is host.local (private).
However some software that we have needs the hostname to be host.domain.com
(public).

So here's the question that I haven't found the answer to. Is there a way
to keep the primary interface be private but have
foreman make the hostname of the machine be from the secondary interface?

If not I'll submit a feature request to allow a checkbox in the networking
section allowing users to choose which interface
will dictate the hostname of the machine. Thanks.

Foreman 1.6.0 (Needs updating I know)
Puppet 3.4.2
RHEL 6.5

Hello,

this is not supported in Foreman yet. Good news is that it's in progress, see
[1] for more details. Feel free to vote up or add your own comments there.

[1] Refactor #7456: Extract primary interface from host - Foreman

··· -- Marek

On Monday 13 of October 2014 08:38:10 Edson Manners wrote:

I have a less than straightforward request from my supervisor that I’m
having trouble getting foreman to do.

We currently use eth0 (private) as the primary interface in Foreman.
Then eth1 (public) as the secondary.

We PXEboot from the primary interface and thus the hostname of the machine
is host.local (private).
However some software that we have needs the hostname to be host.domain.com
(public).

So here’s the question that I haven’t found the answer to. Is there a way
to keep the primary interface be private but have
foreman make the hostname of the machine be from the secondary interface?

If not I’ll submit a feature request to allow a checkbox in the networking
section allowing users to choose which interface
will dictate the hostname of the machine. Thanks.

Foreman 1.6.0 (Needs updating I know)
Puppet 3.4.2
RHEL 6.5

Thanks Mark. That is good news. You guys do great work.

··· On 10/14/14, 3:13 AM, Marek Hulan wrote: > Hello, > > this is not supported in Foreman yet. Good news is that it's in progress, see > [1] for more details. Feel free to vote up or add your own comments there. > > [1] http://projects.theforeman.org/issues/7456 >