Host.para for UEFI

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 .

Thanks
Chad

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

>
>
> 在 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 :frowning:

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

··· On 07/25, Chi Fu wrote:

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


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