From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 21 10:56:02 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D28C16A419 for ; Fri, 21 Dec 2007 10:56:02 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 02BD513C447 for ; Fri, 21 Dec 2007 10:56:01 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1J5fC0-000Jd3-4G for freebsd-hackers@freebsd.org; Fri, 21 Dec 2007 12:33:24 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: FreeBSD-Hackers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Dec 2007 12:33:24 +0200 From: Danny Braniss Message-ID: Subject: diskless and the 21st. century X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 10:56:02 -0000 Hi, Being a great fan of diskless/dataless hosts, I'm always looking for ways to reduce the administration 'overhead'. One issue is the number of different /(root) needed - one for each platform/os-version at least. Another issue is the particular configuration of a host, most of it can be done via rc.conf, but some need to be configured before init(8) gets run - boot/device.hits, boot/loader.conf. Since this are in the disk image, which is shared among many, they are difficult to 'personalize'. One solution, of cource, is to make several copies of the root image, one for each host. Another is to use DHCP, and with a patch to bootp.c(*) makes pxeboot(8) put most of the configurable options in the kernel env. Why all this blaber? well, I need someone with forth knowledge to fix the loader(8), if a variable is already in the kernel environment, don't override. The current problem I'm faced with, is that newer servers have newer/wierd ilo/imap/serial setups, Sun Fire X2200 have the serial console configured to com2, so adding 'hint.sio.1.flags="0x10" made the console available. But as soon as another host - without sio.1 - booted from that image it panicked. So now, I can configure hints. via dhcp. cheers, danny (*): availabel from ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/