Foreman Discovery. Name of discovered hosts

Hey,

I'm looking to change the name of the discovered host to something more
recognisable.

For the name I plan to combine the MAC with another fact (lldp port
description).

Where in the foreman discovery code does the discovered host name get sent
to foreman?

Thanks

https://www.theforeman.org/plugins/foreman_discovery/

It is all there. LZ

··· On Wed, Oct 11, 2017 at 6:40 PM, Conor Mc Garvey wrote: > Hey, > > I'm looking to change the name of the discovered host to something more > recognisable. > > For the name I plan to combine the MAC with another fact (lldp port > description). > > Where in the foreman discovery code does the discovered host name get sent > to foreman? > > Thanks > > -- > 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 https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

Thanks lol

https://www.theforeman.org/plugins/foreman_discovery/9.1/index.html#3.1.4Globalsettings

··· On Wednesday, 11 October 2017 19:48:04 UTC+1, Lukas Zapletal wrote: > > https://www.theforeman.org/plugins/foreman_discovery/ > > It is all there. LZ > > On Wed, Oct 11, 2017 at 6:40 PM, Conor Mc Garvey > wrote: > > Hey, > > > > I'm looking to change the name of the discovered host to something more > > recognisable. > > > > For the name I plan to combine the MAC with another fact (lldp port > > description). > > > > Where in the foreman discovery code does the discovered host name get > sent > > to foreman? > > > > Thanks > > > > -- > > 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-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal >