On 07/25, Chi Fu wrote:
>
>
> 在 2017年7月25日星期二 UTC+8上午11:29:38,Chi Fu写道:
> >
> > Hi ,
> >
> > I would like to know if there is a host parameter to tell whether the host
> > is using UEFI or LEGACY boot mode ?
> >
> > I need this to implement different partitioning table according to it's
> > boot firmware used .

You can call:

<%= @host.pxe_loader %>

You would have to disable Safemode (Administer > Settings > Provisioning
tab > "Safemode rendering" - set it to "No"), as otherwise the attribute
will be locked :(

I've filed a new ticket to allow it in the next release, thanks for the
heads up

> >
> > Thanks
> > Chad
> >
>
> I guess for each host you have an option PXE loader there , is there a
> build-in variable that i can call this ?
>
> --
> 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.


--
Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

-- 
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.

Attachment: signature.asc
Description: PGP signature

Reply via email to