From owner-freebsd-questions@freebsd.org Mon Aug 24 22:29:00 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07FF39C19AA for ; Mon, 24 Aug 2015 22:29:00 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [54.72.43.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FC2512C6 for ; Mon, 24 Aug 2015 22:28:58 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.171] (89-27-2-202.bb.dnainternet.fi [89.27.2.202]) (authenticated bits=0) by mail.kronometrix.org (8.14.9/8.14.9) with ESMTP id t7OMaNmC084608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 24 Aug 2015 22:36:26 GMT (envelope-from sparvu@kronometrix.org) Reply-To: sparvu@kronometrix.org To: freebsd-questions@freebsd.org From: Stefan Parvu Subject: FreeBSD 10.2 custom unattended installation Organization: kronometrix.org Message-ID: <55DB9A9E.8020804@kronometrix.org> Date: Tue, 25 Aug 2015 01:28:46 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 22:29:00 -0000 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