From owner-freebsd-questions Tue Nov 19 8:49:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4A7F37B401 for ; Tue, 19 Nov 2002 08:49:23 -0800 (PST) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36EBF43E4A for ; Tue, 19 Nov 2002 08:49:23 -0800 (PST) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost [127.0.0.1]) by dc.cis.okstate.edu (8.11.6/8.11.6) with ESMTP id gAJGnCG96254 for ; Tue, 19 Nov 2002 10:49:12 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200211191649.gAJGnCG96254@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Subject: Setting Host Parameters with /stand/sysinstall Scripts Date: Tue, 19 Nov 2002 10:49:12 -0600 From: Martin McCormick Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am building an install.cfg script to standardize our building and upgrading of servers. It works quite well so far, but one part seems to not take. This is the setting of local host parameters as in # My host specific data hostname=ns1.hardknocks.edu domainname=hardknocks.edu nameserver=10.0.0.1 defaultrouter=10.0.0.2 ipaddr=10.0.0.1 netmask=255.0.0.0 These are all variables that some function uses to build a new /etc/rc.conf file. What function is it that I am missing? I presently can get the script to extract and install the kernel sources and the general collection of sources without X as in: # Select which distributions we want. distSetDeveloper distSetKernDeveloper # Selects the standard kernel Developer's distribution set. # OK, everything is set. Do it! installUpgrade sysinstall tells me that the first part of the upgrade is successful and the appropriate directories seem to indicate that this is true. If I look at /etc/rc.conf, however, it is still in the state it was in before I ran the upgrade. Martin McCormick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message