On Thu, Oct 15, 2009 at 2:05 PM, Yoann Moulin <informati...@mistur.org> wrote:
>>> I'm testing grub2pxe and I'd like to know if it's possible to give
>>> different configfile (diff that grub.cfg) per host/mac address such as
>>> pxelinux does with mac address detection.
>>> option-150 was used for that before but seem to not be implemented with
>>> grub2
>>>
>>> I'd like to do something like into the dhcpd.conf file:
>>>
>>> host test1 {
>>> hardware ethernet 00:1c:42:01:f8:18;
>>> fixed-address test1.local;
>>> filename "grub2pxe";
>>> option option-150 "/boot/grub/test1.cfg";
>>> }
>>
>>   This is something that's absolutely essential to our customers.  It's
>> something we rely on in Legacy GRUB and it's something that we'll need
>> in GRUB2 when we make the transition.
>
> good :)
>
> but is that mean it's not possible yet to do something like that right now ?

Hi,

Yeah, it's impossible to do it now. But this feature is not difficult
to add using the tree config loader from my menu branch, I'd post a
patch soon.

-- 
Bean

gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to