From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1My70G-0000IG-Hf for mharc-grub-devel@gnu.org; Wed, 14 Oct 2009 12:47:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My70D-0000Fn-Or for grub-devel@gnu.org; Wed, 14 Oct 2009 12:47:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My709-0000AA-RT for grub-devel@gnu.org; Wed, 14 Oct 2009 12:47:05 -0400 Received: from [199.232.76.173] (port=49857 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My709-00009o-Bt for grub-devel@gnu.org; Wed, 14 Oct 2009 12:47:01 -0400 Received: from smtp4-g21.free.fr ([212.27.42.4]:56584) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My708-0000a3-J9 for grub-devel@gnu.org; Wed, 14 Oct 2009 12:47:01 -0400 Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 86E974C8027 for ; Wed, 14 Oct 2009 18:46:30 +0200 (CEST) Received: from vaka.local (ves78-2-82-232-204-47.fbx.proxad.net [82.232.204.47]) by smtp4-g21.free.fr (Postfix) with ESMTP id A2F214C80AB for ; Wed, 14 Oct 2009 18:46:28 +0200 (CEST) Message-ID: <4AD60064.5020807@mistur.org> Date: Wed, 14 Oct 2009 18:46:28 +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 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: 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: Wed, 14 Oct 2009 16:47:06 -0000 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