From owner-freebsd-questions@FreeBSD.ORG Thu May 31 22:06:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E87C316A469 for ; Thu, 31 May 2007 22:06:25 +0000 (UTC) (envelope-from Christopher.Manders@ucsf.edu) Received: from emfmcb02.ucsfmedicalcenter.org (EMFMCB02.ucsfmedicalcenter.org [64.54.46.98]) by mx1.freebsd.org (Postfix) with ESMTP id D22E413C489 for ; Thu, 31 May 2007 22:06:25 +0000 (UTC) (envelope-from Christopher.Manders@ucsf.edu) Received: from 64.54.128.151 by emfmcb01.ucsfmedicalcenter.org with ESMTP (Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.0)); Thu, 31 May 2007 14:56:47 -0700 X-Server-Uuid: E2E48A14-EE5B-4280-A138-188440602EDD X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 31 May 2007 14:44:27 -0700 Message-ID: <20DDD429AF23524CB1C9F8BF28947DCE9BF8DE@EXVS07.net.ucsf.edu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Customizing installation/distribution. Thread-Index: AcejyHKoG988ZpzsRq2UhTGPt2lpggAAf6FZ References: <10902043.post@talk.nabble.com> <20070531211051.N499@duane.dbq.yournetplus.com> From: "Manders, Christopher" To: freebsd-questions@freebsd.org X-WSS-ID: 6A419B140MC2794706-13-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Customizing installation/distribution. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 22:06:26 -0000 G'day, I need to be able to distribute an FTP version of FreeBSD with some = minor changes... We have a standard set of customizations that we need to be able to dist = out in cookie-cutter style to our production systems, and include: - Custom /etc/motd - Custom /etc/pf.conf - Custom /etc/ssh/sshd_config - Custom /etc/ttys - Custom /boot/loader.conf (e.g. beastie_disable=3D"YES") - Remove 'toor' account - Remove *GCC* from base, so no-one can compile anything.=20 I have a FreeSBIE CD that I have set up to: 1) Boot a Live FreeBSD system, replete with PERL and a few other pkgs to = allow (2) to work. 2) A PERL script that asks the boot user some info = (IP/netmask/gw/FTP-install-server/hostname). 3) A modified sysinstall that asks for no input if the config file from = the previos step is found, and reaches out to our FTP server. I am finding that the source is checked out from ncvs each time, so all = changes are not saved when I cd /usr/src/release && make release. I have = specified the following with the 'make release':=20 =20 ROOTDIR=3D/data/release BUILDNAME=3D6.2.mybuild NODOC=3DYES=20 NOPORT=3DYES=20 CVSROOT=3D/data/ncvs=20 RELEASE=3DRELENG_6_2 Any clues as to how I can assure that my changes are included?=20 Note: As far as PKGs go, that I have figured out for additional = ports/PKGs to add onto the BASE. It is the BASE distribution that is = giving me a headache. Pointers and suggestions welcome. TIA! -cjm