From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 18:15:41 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75542106564A; Thu, 8 Apr 2010 18:15:41 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id E43FE8FC13; Thu, 8 Apr 2010 18:15:40 +0000 (UTC) Received: by qyk11 with SMTP id 11so1803844qyk.13 for ; Thu, 08 Apr 2010 11:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0fOIlXbPh+qpJ4z1xcRrCH0I8dZGNaDwjo2/LDEsacs=; b=ElhU+XOXcFNspsPRaPI95Mw18wX+GwV589YHCe/PalztPCH5kGf+YDd+Zr9hgihBGS ZTGaJ1jQMA+22FBCpvPcsy9TeLC4tY1CqMTWKu2vzdMIkuOar0rD/mcDDAiKIvBW+Hk9 5XYBOnnlKqkTAlYBTdcdPRWylk20xUKaZWycs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YI+5521QKSsii7fIUTAQPIC15Xq2QPoKoQ0DJheClAGzNNEakqn8uYqesV2MH6WB5o iAp3Xr3hmwj2UIPpcFyL3/7zlgYDjHhBnGAp2Ggpmcof+isiBz6YgaklyvA+r6npm/8g otKGq+QX467af72dpYkXRNC7V/VqNN1TkKbyI= MIME-Version: 1.0 Received: by 10.229.33.72 with HTTP; Thu, 8 Apr 2010 11:15:36 -0700 (PDT) In-Reply-To: <1270746097.29753.106.camel@localhost.localdomain> References: <55861270658151@web135.yandex.ru> <20100408121500.13995d1eu7b9bt0k@webmail.leidinger.net> <86fx36up9e.fsf@ds4.des.no> <20100408155309.42884l21ogy7m7sw@webmail.leidinger.net> <86vdc2t4hs.fsf@ds4.des.no> <20100408163936.137245fp5ycrre0w@webmail.leidinger.net> <4BBDB5BC.3060002@pcbsd.org> <4BBDD0B9.3060902@pcbsd.org> <1270746097.29753.106.camel@localhost.localdomain> Date: Thu, 8 Apr 2010 11:15:36 -0700 Received: by 10.229.104.195 with SMTP id q3mr639347qco.56.1270750536778; Thu, 08 Apr 2010 11:15:36 -0700 (PDT) Message-ID: From: Garrett Cooper To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 08 Apr 2010 18:45:13 +0000 Cc: Bruce Cran , freebsd-geom@freebsd.org, Alexander Leidinger , Randi Harper , freebsd-current@freebsd.org, "Andrey V. Elsukov" , =?ISO-8859-1?Q?Dag=2DErling_Sm=C3=B8rgrav?= , Marian Hettwer , Kris Moore Subject: Re: [RFC] Rewriting sade(8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2010 18:15:41 -0000 On Thu, Apr 8, 2010 at 10:01 AM, Devin Teske wrote: > Randi and I were discussion the possibility of having sysinstall > "remember" what you did and then able to write out a suitable > `install.cfg' file that could be subsequently used to perform a human- > less automated install with the same settings. [...] > On Thu, 2010-04-08 at 12:48 +0000, Kris Moore wrote: >> On 04/08/2010 16:30, Marian Hettwer wrote: >> > On Thu, 08 Apr 2010 10:53:48 +0000, Kris Moore =A0wrot= e: >> > >> > It's not nice to hijack a topic, but this is way to interesting for me= , so >> > I do it anway :) >> > >> :) I didn't mean to hijack either, was trying to discuss advantage of >> having backend >> as a executable vs a library which can't be used standalone without >> front-end. >> This would in effect lock you completely into front-end logic, which may >> not meet >> a users specific needs, even though backend can do what user wants. >> >> >> This has a few advantages, in that the backend can be used stand-alon= e >> >> for scripted installations and also provide great flexibility >> >> to the front-end developer. They don't need to worry about performing >> >> any of the actual installation logic, they just provide a way >> >> for users to select their installation options, generate a configurat= ion >> >> >> > >> >> script, and let the backend run with it. >> >> >> > scripted installation! >> > Are you able to do a pxeboot, nfsroot and then scripted installation? >> > Are those scripts portable to FreeBSD or PC-BSD only? >> > Could you give me a hint where to find them? >> > >> > TIA, >> > Marian >> > >> >> Correct, every install it does is a fully-scripted installation, and >> it can be used with pxeboot, or in a custom mfsroot image easily. >> Supports ZFS, glabel, gmirror, geli, GPT, gpart, vanilla FreeBSD >> installs, etc. >> >> http://trac.pcbsd.org/browser/pcbsd/trunk/pc-sysinstall >> >> Checkout examples/README for all the gory details of config-file >> generation. >> >> One caveat, the version in trunk is being very actively worked on by >> myself at the >> moment to prepare for 8.1, needs more docs, etc ;) 1. Please don't top post :). 2. install.cfg is just a hacky / non-style(9) compliant way of specifying how to do an install. If you could separate out sysinstall into separate utilities and have each of the pieces execute as shell commands with predefined variables at install, you'll be lightyears ahead of where sysinstall is today. 3. sysinstall(8) does a lot of crud that it shouldn't do for all systems. Powerusers won't use sysinstall because does too much crap; all of the items that sysinstall does behind the scenes to get a working system should be properly documented in a doc article. Thanks, -Garrett