I'll look into it, thanks! There is an old ticket for this: http://projects.theforeman.org/issues/110
It doesnt seem to have to much traction though... On Tue, May 9, 2017 at 10:26 AM, <[email protected]> wrote: > As a quick, but not-so-easy solution, I can suggest you to monkey-patch > our name generator: https://github.com/theforeman/foreman/blob/ > develop/app/services/name_generator.rb > > For a better solution, please file a new feature request into our redmine. > > Thanks! > Shim. > > > On Friday, May 5, 2017 at 4:31:16 PM UTC+3, AdamW wrote: >> >> Hello, >> >> We, as many other shops, have a server naming standard including a >> numbering scheme. Is there any somewhat simple way to get Foreman to call >> an external script on host creation to retrieve the next available server >> name and populate the hostname field in the 'new host' form with this? >> >> Thanks! >> >> Regards, >> Adam >> > -- > 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. > -- 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.
