Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 11:31:22 -0500
From:      Drew Weaver <drew.weaver@thenap.com>
To:        'Royce Williams' <royce@alaska.net>
Cc:        "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org>
Subject:   RE: Manual/Wiki or other documentation for PXE install mainly install.cfg?
Message-ID:  <B7152C470C9BF3448ED33F16A75D81C14D261CB003@exchanga.thenap.com>
In-Reply-To: <4794C35A.10405@alaska.net>
References:  <B7152C470C9BF3448ED33F16A75D81C14D261CAFF5@exchanga.thenap.com> <4794C35A.10405@alaska.net>

next in thread | previous in thread | raw e-mail | index | archive | help

        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.

-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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B7152C470C9BF3448ED33F16A75D81C14D261CB003>