On Tue, Jan 24, 2017 at 12:50:37PM -0800, Matthew Garrett wrote: > On Mon, Jan 23, 2017 at 8:02 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > > 24.01.2017 03:36, Matthew Garrett пишет: > >> Some DHCP servers (such as dnsmasq) tokenise parameters with commas, making > >> it impossible to pass boot files with commas in them. Allow using a > > > > grub_net_open() operates on devices, not files. Please give more details > > about your problem. > > The DHCP server will return a string in the boot_file field. If you > want to indicate that this file should be obtained over http, the > easiest way to handle this is to provide a boot file in the form > (http,host)filename. Unfortunately dnsmasq uses commas to tokenise its > configuration parameters and there appears to be no way to override > that, which makes it impossible to provide a boot file in this form. > Allowing the use of an alternative character avoids this problem.
To my understanding, you can (and have to) use the url form in boot-file and specify vendor-class-identifier to "HTTPClient" to let the UEFI firmware knows this as a response to HTTP boot request and handle that boot-file accordingly, then continue with that url loaded and run as NBP. Here the article provide some examples. https://en.opensuse.org/UEFI_HTTPBoot_with_OVMF I suppose you may be running the bootp for setting up the client network interface and wanted it to have work with http hosting the os images in some way ? Anyway the config seems not to work with what UEFI prosposed for HTTP Boot and I'd suggest to check that first. Thanks, Michael > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel