Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 01:28:46 +0300
From:      Stefan Parvu <sparvu@kronometrix.org>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 10.2 custom unattended installation
Message-ID:  <55DB9A9E.8020804@kronometrix.org>

next in thread | raw e-mail | index | archive | help
Hi,

We are planning to use FreeBSD + Kronometrix [1] as a ready image.
For that we are planning to modify the original ISO image and add
our own software to it.

We want users to perform a basic FreeBSD installation from the ISO image
CD or USB, but answering to some questions only, not all.

For example, we want to ask interactively:

 * the keymap

 * the networking configuration

 * the storage ZFS by default (because we dont know the customer storage)

 * and the root password

the rest being automated. I understood we need to modify the original
ISO by adding our bits. Some questions:

1. Should we create a /etc/installerconfig file, where we shall have our
config ?

2. Should we define there something like ...

    DISTRIBUTIONS="kernel.txz base.txz kronometrix.txz"
    bsdinstall keymap
    bsdinstall netconfig
    bsdinstall zfsboot

    #!/bin/sh
    echo "Running post installation"

3. Can we run interactive and non-interactive tasks withing the
installerconfig file ? Where is this documented ? bsdinstall seems
short in explanations and descriptions regarding this part.

[1] - www.kronometrix.org


Many thanks,

-- 
Stefan Parvu <sparvu@kronometrix.org>





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