Hello, I use Grub in order to do netboot with PXE. I do Grub starts DHCP session to download a kernel image from TFTP server. That works and it's very nice. However, I would like my DHCP server gives the special DHCP option 150 used by Grub, only when Grub is the DHCP client. And not when it's the PXEClient or any DHCP client daemon. At the moment, the only way for the DHCP server to known when gives the option 150, is to interpret the DHCP paramter request list (option 55). And it isn't very easy. So why the Grub DHCP client doesn't specify any Vendor class identifier (option 60) like PXE clients. I searched and I found there are at least 2 patches proposed in GNU Grub bug tracker (http://savannah.gnu.org/bugs/?group=grub). There are for instance: - bug #9451 : DHCP vendor-class-identifier (http://savannah.gnu.org/bugs/?9451) - and bug #15608 : [PATCH] pxegrub hangs /w more than one DHCP server (http://savannah.gnu.org/bugs/?15608) I test only the first one, because it's a very simple patch and because I think it's sufficient. But maybe I make a mistake. Why doesn't integrate this new feature in a grub-0.97-r4 ? Regards
Created attachment 105871 [details, diff] Simple patch to add Vendor class identifier in Grub DHCP client This is the patch I use. It's more or less the same patch than in bug #9451 (http://savannah.gnu.org/bugs/?9451). And it works very well with DHCP server net-misc/dhcp-3.0.3-r9.
Queued for 0.97-r9
Updating the queue marker, it didn't make it into -r9.
Now committed and published as new patchset: grub-0.97-patches-1.10.tar.bz2 Ebuild sys-boot/grub-0.97-r10 committed.