0

I'm currently using Foreman to discover nodes on the network, and to provision bare metal servers.

When a node is discovered, and I "Provision" it through the Foreman UI, I always have to specify the "Domain" for the primary host interface that was discovered.

I have tried setting the Organization and Location for the given domain, but this doesn't work. I have also defined the Domain in the Network tab of the Host Group as well.

Is there a way to set the domain for the primary host interface automatically so that I don't have to select it manually each time?

EDIT: In the case where there is a single interface, the domain is set automatically via the Host Group, however when there are multiple interfaces, the domain does not get set

grizzthedj
  • 143
  • 1
  • 2
  • 10

1 Answers1

0

you can use a hostgroup to predefine it.

  • Can you elaborate? – chicks May 08 '17 at 11:31
  • I have already defined the Domain in the Network tab of the Host Group, and still no dice. I have also updated the question to include this. – grizzthedj May 08 '17 at 14:07
  • Just found that setting the domain in the host group will get auto populated when there is only a single interface, but does not when there are multiple interfaces. Is there a way to set this when there are multiple interfaces? – grizzthedj May 10 '17 at 13:08