grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 4/5] normal/main: Search for specific config files for net


From: Javier Martinez Canillas
Subject: Re: [PATCH v5 4/5] normal/main: Search for specific config files for netboot
Date: Wed, 30 Oct 2019 11:40:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

Hello Vladimir,

On 10/29/19 5:18 PM, Vladimir 'phcoder' Serbinenko wrote:
> What is the problem with main grub.cfg just including the files based on
> environment variables?
>

Do you mean having a grub.cfg that fetches the machine specific grub.cfg? i.e:

configfile (tftp,$net_default_server)/EFI/BOOT/grub.cfg.$net_default_ip

While is true that this could be done, is not ideal since then all the logic
to determine which config file to fetch will have to be encoded into this first
stage grub.cfg that will be downloaded by all the machines.

This policy will have to be written as a GRUB config script instead of being in
the installation server backend, that could just provide the machine specific
config files using the suffixes convention introduced by this patch-set.

And when managing a big fleet of machines the monolithic approach of having all
this policy in a single grub.cfg file could be hard to maintain and error prone.

As mentioned in the commit message, others bootloaders already support this. For
example pxelinux and yaboot. So users migrating from pxelinux and yaboot to GRUB
for PXE booting asked for this since they already have built infrastructure that
rely on this feature.

We have been carrying these patches since 2012 and our users expect this feature
to be available for their network installation environments. I also think that's
useful and gives GRUB feature parity with other bootloaders for network booting.

Best regards,
-- 
Javier Martinez Canillas
Software Engineer - Desktop Hardware Enablement
Red Hat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]