I also have been taking this strategy for our physical hosts when we get
them. Just grab their MAC addresses and use a script to loop through them
and create the hosts. The issues with discovery & bonded nics makes it
pretty hard to use discovery at all.

On Fri, Mar 17, 2017 at 6:03 AM <[email protected]> wrote:

>
>
> On Tuesday, March 14, 2017 at 7:00:44 PM UTC+1, Brandon Boles wrote:
>
> https://github.com/bboles/foreman-nic-provisioning
>
> That script is pretty specific but may give you a starting point.  Let me
> know if you have any questions.
>
>
> Brandon, thanks for sharing. Anyway in the end I went another route: I
> pre-created the hosts in Foreamn programmatically using hammer CLI, since I
> already knew all the hosts being added.
> I know that in a scenario "we are adding 200 machines at the same time" it
> doesn't scale as well as autodiscovery, but in my case they were just 20.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

KAYAK

Neil Hanlon

Devops Engineer


+1 978 451 0707

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to