[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub2pxe give a specific cfg file per host
From: |
Bean |
Subject: |
Re: grub2pxe give a specific cfg file per host |
Date: |
Thu, 15 Oct 2009 14:54:29 +0800 |
On Thu, Oct 15, 2009 at 2:05 PM, Yoann Moulin <address@hidden> 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/