Date: Thu, 14 Aug 2008 08:08:29 +0200 From: "Riaan Kruger" <riaank@gmail.com> To: "Matias Surdi" <matiassurdi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: "make release" and sysinstall Message-ID: <85c4b1850808132308h3286ff34o16b9f19146e5ff48@mail.gmail.com> In-Reply-To: <g7v4tb$ija$1@ger.gmane.org> References: <g7v4tb$ija$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sysinstall has a configuration file with wich you can specify several options, see man sysinstall(8) for more details. When making a release you set the sysinstalls configuration file with the LOCAL_PATCHES option to patch it to the chroot environment release build environment. We use it to create a automatic install for a host that we know exactly how the disks will be partitioned, what packages are installed what users etc. Here is an snippet of our patch file, (please note I have changed some of the names to protect the guilty :) ) --- /dev/null Sat Jan 26 17:11:01 2008 +++ release/install.cfg Sat Jan 26 17:17:46 2008 @@ -0,0 +1,31 @@ +debug=yes + +nonInteractive=yes +hostname=a.b.c +domainname=b.c + +mediaSetCDROM + +distSetMinimum + +disk=ar0 etc, etc Hope this helps. PS. You could also look at what nanobsd and I think pfsense does. I think they use a different approach. I have heard sysinstall should have been "killed" a long time ago but it still works well for us. Riaan On 8/13/08, Matias Surdi <matiassurdi@gmail.com> wrote: > Hi again, > > Suppose I build my own FreeBSD based distro, as described in release(7). > How can I script sysinstall or replace it with another installer to > customize the installation process? > > > Thanks a lot. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85c4b1850808132308h3286ff34o16b9f19146e5ff48>