"make release" and sysinstall
Riaan Kruger
riaank at gmail.com
Thu Aug 14 06:08:29 UTC 2008
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list