From owner-freebsd-questions@FreeBSD.ORG Tue Apr 21 22:47:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD3F8106564A for ; Tue, 21 Apr 2009 22:47:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7438FC13 for ; Tue, 21 Apr 2009 22:47:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n3LMlBq3001777; Tue, 21 Apr 2009 18:47:11 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n3LMlBSU001776; Tue, 21 Apr 2009 18:47:11 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 21 Apr 2009 18:47:11 -0400 From: Jerry McAllister To: Polytropon Message-ID: <20090421224711.GA1729@gizmo.acns.msu.edu> References: <20090421235132.e08c3ff0.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090421235132.e08c3ff0.freebsd@edvax.de> User-Agent: Mutt/1.4.2.2i Cc: complists@risei.net, freebsd-questions@freebsd.org, Scott Seekamp Subject: Re: Customized Remote Install 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: Tue, 21 Apr 2009 22:47:19 -0000 On Tue, Apr 21, 2009 at 11:51:32PM +0200, Polytropon wrote: > On Tue, 21 Apr 2009 14:42:32 -0600, Scott Seekamp wrote: > > My hope was that I could make an automated install CD/DVD that > > configured all the options I want AND change some base config files so > > I can actually get to the box (or install an SSH key). > > [...] > > I'm open to other options if someone has gone down this road before! > > I'd like to advertize a method that I think is very comfortable > in such a setting. It's worth mentioning that this method > usually requires (a) modern enough PCs or (b) you to know what > is the hardware profile of the PC. > > The method works as follows: > > First create a FreeBSD as you want it to be on the clients. > Install and configure everything as you intend. > > Then dump the created partitions onto a CD or DVD and create > a simple script that: > 1. initializes the client's hard disk > 2. slices the disk and newfses the partitions > 3. dumps the partition images onto the disks > 4. reboots the machine into operating state. > > After this, you should be able to SSH into the client and > change settings that need to be changed. This works very well. I have done essentially the same many times. The one thing missing is that you need to have something to set the network information -- hostname, IP address, gateway, netmask and name-server. These will be different for each machine. So, your script will have to accomodate this - read console input for these items and plug them in to the proper places before rebooting. ////jerry > > You always have your "reference machine" at hand, because it's > exactly installed and configured as the clients. > > Under controlled conditions, it's even possible to build the > needed system in a virtualized environment. > > > > > -- > Polytropon > >From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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"