Creating hosts via foreman api/hammer

We use foreman strictly as a reporting tool and external node classifier
(unattended:false). Is it possible to pre-create a host in foreman using
the api/hammer without specifying parameters such as "partition-table" and
"operating-system". I'd like to create the host and add it to
hostgroups/add puppet classes before the node checks in initially.

Currently using foreman 1.3.1.

Thanks
Mike

Hey,

do you have provisioning turned off? If so, this should be possible. Do
you see any error?

LZ

··· On Wed, Dec 04, 2013 at 03:50:51PM -0800, Michael Griffin wrote: > We use foreman strictly as a reporting tool and external node classifier > (unattended:false). Is it possible to pre-create a host in foreman using > the api/hammer without specifying parameters such as "partition-table" and > "operating-system". I'd like to create the host and add it to > hostgroups/add puppet classes before the node checks in initially. > > Currently using foreman 1.3.1. > > Thanks > Mike > > -- > 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 foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out.


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman