From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 12:42:42 2010 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 22F63106564A for ; Thu, 11 Nov 2010 12:42:42 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-gy0-f200.google.com (mail-gy0-f200.google.com [209.85.160.200]) by mx1.freebsd.org (Postfix) with ESMTP id E0BDE8FC0C for ; Thu, 11 Nov 2010 12:42:41 +0000 (UTC) Received: by gya6 with SMTP id 6so971566gya.7 for ; Thu, 11 Nov 2010 04:42:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.195.203 with SMTP id ed11mr288155vcb.17.1289477571887; Thu, 11 Nov 2010 04:12:51 -0800 (PST) Message-ID: <90e6ba53b42e9e45100494c5e454@google.com> Date: Thu, 11 Nov 2010 12:12:51 +0000 From: vrwmiller@gmail.com To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: sysinstall install.cfg 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, 11 Nov 2010 12:42:42 -0000 Hi all, Hoping that someone might be able to help me here. I dynamically generate much of the install.cfg by running scripts that send output to files that are, in turn, loaded into install.cfg utilizing loadConfig. The scripts that are run are placed into the mfsroot in /stand and /. They send the output to /a. I do this twice before the installCommit and both scripts run and load the resulting configs successfully. I also run another script after the InstallComit...it fails citing the script could not be found. In troubleshooting, I found that sysinstall is removing /stand and doing other stuff to / and /var. So, I know why the script cannot be found...because sysinstall is removing it. The question I have then is how can I get around this? I attempted putting the script above the installCommit, but the functions being performed here require that the base system already be in place (I'm adding packages). It seems that I have little choice, but to have this after the installCommit. Unfortunately, sysinstall wipes it out. Any guidance is greatly appreciated.