All of lore.kernel.org
 help / color / mirror / Atom feed
* grub2pxe give a specific cfg file per host
@ 2009-10-14 16:46 Yoann Moulin
  2009-10-14 18:57 ` Seth Goldberg
  0 siblings, 1 reply; 4+ messages in thread
From: Yoann Moulin @ 2009-10-14 16:46 UTC (permalink / raw)
  To: grub-devel

Hi,

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";
}

where /boot/grub/test1.cfg might be a symlink on a default file.cfg or a
specific file.

is that something already implemented ? if not is there any plan for
something like that ?

Test environment :
- Parallels for Mac 4
- boot server runs Centos 5.3
- grep2pxe build from grub-1.97~beta4
- kernel : 2.6.18-164.el5

thanks for your help

Yoann Moulin



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-15  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 16:46 grub2pxe give a specific cfg file per host Yoann Moulin
2009-10-14 18:57 ` Seth Goldberg
2009-10-15  6:05   ` Yoann Moulin
2009-10-15  6:54     ` Bean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.