Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 23:39:51 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: PXE + sysinstall(8) install.cfg: DHCP Attribute to map install config/policy to system MAC?
Message-ID:  <4BCF70A7.3000100@locolomo.org>
In-Reply-To: <4BCF5909.2060703@noc.cfi.pgh.pa.us>
References:  <4BCF5909.2060703@noc.cfi.pgh.pa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21/04/10 21:59, Brian A. Seklecki (CFI NOC) wrote:
> All:
>
>     The install.cfg mechanism is pretty wicked.
>
>     Unfortunately, there doesn't seem to be a really efficient way
>     to provide new clients (or class of clients) an install.cfg
>     without rebuilding an MFSROOT image.
>     Possibly a TFTP or NFS URL passed from the DHCP server
>     ->  boot loader ->  kernel sysctl ->  sysinstall(8).
>
> Thoughts or other ideas?

You can configure sysinstall in your install.cfg to execute shell 
commands, including any fetch-like command. Some scripting should be 
possible to do what you require. I wrote about it here:

http://www.locolomo.org/howto/pxeboot/automatic-installation.html

However, I never really went on and tested this, let me know if this works.

BR, Erik
-- 
Erik Nørgaard
Ph: +34.666334818/+34.915211157                  http://www.locolomo.org



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