From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 7 11:34:09 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51C0D9E for ; Fri, 7 Mar 2014 11:34:09 +0000 (UTC) Received: from cargobay.net (cargobay.net [162.220.58.155]) by mx1.freebsd.org (Postfix) with ESMTP id 2CDDC279 for ; Fri, 7 Mar 2014 11:34:08 +0000 (UTC) Received: from [192.168.1.6] (pool-71-101-208-95.tampfl.fios.verizon.net [71.101.208.95]) by cargobay.net (Postfix) with ESMTPSA id 1A96123D; Fri, 7 Mar 2014 11:33:46 +0000 (UTC) Message-ID: <5319AEA2.2030402@ccsys.com> Date: Fri, 07 Mar 2014 06:33:54 -0500 From: "Chad J. Milios" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: amine tay , freebsd-hackers@freebsd.org Subject: Re: FreeBSD 9.X network installation using PXE+TFTP (not NFS) ! References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 07 Mar 2014 12:39:46 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 11:34:09 -0000 On 3/7/2014 5:36 AM, amine tay wrote: > Hi everyone, > I'm trying to perform a FreeBSD 9.X network installation using PXE+TFTP > (not NFS) ! > The problem using NFS is the need to specify the root-path in the dhcp > conf, therefore we can't deploy multiple releases or different images of > freebsd. > > So to enable the tftp instead of NFS we have to edit make.conf with these > lines > LOADER_TFTP_SUPPORT=YES > LOADER_NFS_SUPPORT=NO > and rebuild the pxeboot file > > 1st question is : Is this modification going to allow the install of > differents freebsd images? > > Note that I'm using an automated os deployement solution , and I am using > mac-adresses to deploy freebsd depending on policies, so for exemple two > clients with different mac-adresses will have two diffrents freebsd images. > > Thanks in advance for your help ! > Can't one already control this similarly to what you describe by using NFS and the DHCP server (dhcpd.conf for example)? Is there a constraint that you have limited control of the DHCP server? Based on my understanding of your question, I have done what you are trying to do using vanilla pxeboot and ports/net/isc-dhcp42-server.