Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MyKER-0001M2-GK for mharc-grub-devel@gnu.org; Thu, 15 Oct 2009 02:54:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyKEQ-0001KA-2e for grub-devel@gnu.org; Thu, 15 Oct 2009 02:54:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyKEL-0001GF-Hr for grub-devel@gnu.org; Thu, 15 Oct 2009 02:54:37 -0400 Received: from [199.232.76.173] (port=57161 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyKEL-0001Fy-2v for grub-devel@gnu.org; Thu, 15 Oct 2009 02:54:33 -0400 Received: from mx20.gnu.org ([199.232.41.8]:56145) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyKEK-0004rf-H9 for grub-devel@gnu.org; Thu, 15 Oct 2009 02:54:32 -0400 Received: from mail-pz0-f192.google.com ([209.85.222.192]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyKEJ-0007WD-E3 for grub-devel@gnu.org; Thu, 15 Oct 2009 02:54:31 -0400 Received: by pzk30 with SMTP id 30so562377pzk.24 for ; Wed, 14 Oct 2009 23:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=F5lgirR2KVDxC2yi8cmsmB+eAb7fwegWL56rutm5jO8=; b=bRx/PCfqnYdVCBiHr7ppfUkwBV7rqSoF5XkfhsnQzSC3v1wvJ/rfapMVE5hwLA/MSM E6es2VyC8FXKcsaG1HpOORKQtTeoJ+4WvPpL+mwmfFu/RPwoRtq6ZZ4M80yCwUZEgI+6 qDid0j+3C6dt4FQ0ARpvKWGJmQfWsjTbqUw+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=njY/te7gqI9BNZWtwT1PvImYYkU3KSYe6q4SQbM+z8hp7krJd/01iGxQxnCK0pkFsy PwR8i71rM2yoFlOUW2t1/64BtW0M59ACIOZiXiHRx2J4E/7X2l0lUbXC7TnIkYTdFPRN uR+5kazrCdVOqC/mOq1m/ACLhz6foFis0OWcI= MIME-Version: 1.0 Received: by 10.140.185.18 with SMTP id i18mr1028916rvf.87.1255589669840; Wed, 14 Oct 2009 23:54:29 -0700 (PDT) In-Reply-To: <4AD6BBB6.9000305@mistur.org> References: <4AD60064.5020807@mistur.org> <4AD6BBB6.9000305@mistur.org> Date: Thu, 15 Oct 2009 14:54:29 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:54:38 -0000 On Thu, Oct 15, 2009 at 2:05 PM, Yoann Moulin wro= te: >>> 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"; >>> } >> >> =A0 This is something that's absolutely essential to our customers. =A0I= t'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 no= w ? 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. --=20 Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/