Defulat PXELinux profiles

Hello,

can someone briefly explain me how default profiles work? I do have a
hostgroup associated with OS, architecture and medium but my default
PXELinux template never renders me a single entry for manual
provisioning.

Thanks.

··· -- Later, Lukas #lzap Zapletal

You also need the template associated to a host group and environment on
the Associations tab.

··· On 09/02/15 09:03, Lukas Zapletal wrote: > Hello, > > can someone briefly explain me how default profiles work? I do have a > hostgroup associated with OS, architecture and medium but my default > PXELinux template never renders me a single entry for manual > provisioning.


Dominic Cleal
Red Hat Engineering

Hey,

> You also need the template associated to a host group and environment on
> the Associations tab.

Now I am getting:

There was an error rendering the Unnamed template: undefined method
`token' for #<Hostgroup:0x0000000afbf3d8>

When I search our community-templates, I don't see "token" methods,
except those in PXE-related templates. But I am trying to render a
kickstart.

Since there is no stacktrace and our errors coming out of the
renderer are not that useful, I struggle locating the root cause.
Any tips?

··· -- Later, Lukas #lzap Zapletal

> Hey,
>
> > You also need the template associated to a host group and environment on
> > the Associations tab.
>
> Now I am getting:
>
> There was an error rendering the Unnamed template: undefined method
> `token' for #<Hostgroup:0x0000000afbf3d8>
>
> When I search our community-templates, I don't see "token" methods,
> except those in PXE-related templates. But I am trying to render a
> kickstart.
>
> Since there is no stacktrace and our errors coming out of the
> renderer are not that useful, I struggle locating the root cause.
> Any tips?
>

AFAIR its generated by using foreman_url helper.

Ohad

··· On Tue, Feb 10, 2015 at 1:06 PM, Lukas Zapletal wrote:


Later,
Lukas #lzap Zapletal


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.