From owner-freebsd-stable@FreeBSD.ORG Mon Jan 21 16:38:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59B5E16A478 for ; Mon, 21 Jan 2008 16:38:33 +0000 (UTC) (envelope-from kimimeister@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1421913C468 for ; Mon, 21 Jan 2008 16:38:33 +0000 (UTC) (envelope-from kimimeister@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3835756waf.3 for ; Mon, 21 Jan 2008 08:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=LbnqfBQH/VjR0P/ny/X+dAR33ZyerdzQ+Z/wPEOEMPs=; b=VbJ2YeLGYelFRAAnGQggEbrP8Tw7nLrUVNYnXj7YvbpLIl+XGa6ZqTcTbU0wKgkSZk6EhTHm9csnnr+Oue+OWnu8sUdNbhSmFYV4hanlxo+MeSuXW+TQohVTbyiF7TvCgBi4SJuqv7sDAQuTqCPSrXzFqzvZv3jjFE6O25ZIRwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C/Ev3QY/FlLELFDE0Lg+//hTNFXpDpLeEe7b+0fdHdYpmKfBkK/z/nM/QAGYOmnkZnb06oZC1YasTI8SZAtEHOa+eBILgeSrJ47Jx9m0/nxMSDA8wE55k2RMquYyrbO/sfPnnCQYWmN8m8wE9HGgFsrVYZlgoP+kmX8GcEJSefU= Received: by 10.114.151.13 with SMTP id y13mr3743697wad.60.1200933512404; Mon, 21 Jan 2008 08:38:32 -0800 (PST) Received: by 10.114.58.7 with HTTP; Mon, 21 Jan 2008 08:38:32 -0800 (PST) Message-ID: <42b497160801210838j13ea3fe0wf8bf69faa2467eae@mail.gmail.com> Date: Mon, 21 Jan 2008 16:38:32 +0000 From: Kimi To: "Drew Weaver" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4794C35A.10405@alaska.net> Cc: "freebsd-stable@freebsd.org" , Royce Williams Subject: Re: Manual/Wiki or other documentation for PXE install mainly install.cfg? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 16:38:33 -0000 On 21/01/2008, Drew Weaver wrote: > Would have been, or would be nice if they could make an alias to 'the first Ethernet controller' (i.e. eth0). So that you could reference it in such a way when there is only a single Ethernet controller in a machine. > ifconfig fxp0 name eth0 ? man pages is your friend > -Drew > > -----Original Message----- > From: Royce Williams [mailto:royce@alaska.net] > Sent: Monday, January 21, 2008 11:08 AM > To: Drew Weaver > Cc: 'freebsd-stable@freebsd.org' > Subject: Re: Manual/Wiki or other documentation for PXE install mainly install.cfg? > > Drew Weaver wrote, on 1/21/2008 5:08 AM: > > Hi there, I've seen about a dozen different example files for the > > install.cfg used to feed sysinstall automatic configuration data > > for pxe installations but I cant figure out where people are > > getting the options they're using from. > > > > Is there a manual, wiki or otherwise documentation on what is > > "valid" to put into this file? > > Not that I'm aware of, other than the source itself. > > > Also is this file at all scriptable? > > Not that I am aware of. > > > We would like to be able to use the same install.cfg on all of our > > machines but some of them have different NICs (i.e.) some have rl0, > > fxp0 can we use if statements to detect? > > What I've seen most people doing is using the post-install features to > call a script after everything else is done. Unfortunately, this > doesn't give you scriptable control over the NIC used. > > I pregenerate an appropriate install.cfg based on system type, and > then create a DHCP group (I use isc-dhcpd) for all MACs of that type. > I associate that group with a slightly different nfsroot (containing > the appropriate config file) for that family of machine. It's not > pretty, but it works. > > > Thanks in advance for any tips/tricks! > > I found this post by Ceri Davies to be helpful: > > http://typo.submonkey.net/articles/2006/02/12/having-a-bad-day > > > Royce > > -- > Royce D. Williams - IP Engineering, ACS > http://www.tycho.org/royce/ - PGP: 3FC087DB/1776A531 > It is vain to do with more what can be done with fewer. - Occam > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Regards, Kimi