From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MyJTQ-0000og-M8 for mharc-grub-devel@gnu.org; Thu, 15 Oct 2009 02:06:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyJTH-0000hS-LC for grub-devel@gnu.org; Thu, 15 Oct 2009 02:05:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyJTC-0000bV-Ix for grub-devel@gnu.org; Thu, 15 Oct 2009 02:05:54 -0400 Received: from [199.232.76.173] (port=56394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyJTC-0000as-1N for grub-devel@gnu.org; Thu, 15 Oct 2009 02:05:50 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:45453) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyJTB-0006h2-2e for grub-devel@gnu.org; Thu, 15 Oct 2009 02:05:49 -0400 Received: from smtp2-g21.free.fr (localhost [127.0.0.1]) by smtp2-g21.free.fr (Postfix) with ESMTP id 771F14B0015 for ; Thu, 15 Oct 2009 08:05:44 +0200 (CEST) Received: from vaka.local (freebox.mistur.org [82.225.5.71]) by smtp2-g21.free.fr (Postfix) with ESMTP id 8E9104B007A for ; Thu, 15 Oct 2009 08:05:42 +0200 (CEST) Message-ID: <4AD6BBB6.9000305@mistur.org> Date: Thu, 15 Oct 2009 08:05:42 +0200 From: Yoann Moulin User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4AD60064.5020807@mistur.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: grub2pxe give a specific cfg file per host X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 06:05:56 -0000 >> 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 ? Yoann