From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 7 13:07:33 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 42A918F8 for ; Fri, 7 Mar 2014 13:07:33 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 19A77CF3 for ; Fri, 7 Mar 2014 13:07:33 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id p10so3986466pdj.40 for ; Fri, 07 Mar 2014 05:07:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sN9ZV6lkUwhZC+GgbFSwhSSxI+uA+l39saWvAjxcwxo=; b=yMzGbXBfTRpTI/KIMpoXAsTyHpBgv0oImYE3ERsYxUlJhYLzouqmT7P33EDNzoBydz Pz7Yupd6+u0lM4BzSImkFyZluSUniF6MJlYwAfv+F1CUyJeF/GoIL7Eprcqx2twvrPOv vUmVtEZflNkZSj0Yq+OIC5HCYXt0tYTNgE2pD8o+b6Ggxazs4pH1eFuOkf0KF2YqSz5o O2Qh5ig/UugtIPh0oo0tff/3DsmD32GpLmWARLqORsronXLSqQf1ziQQbyTKwTa7xPmD eGLVutS9Vo0gyDuCdrg0hVg0YkAT9LNC/sey8WgtkIlDvhRS0KP7ELDeNm7IomGsYHsS Cgrw== MIME-Version: 1.0 X-Received: by 10.68.234.2 with SMTP id ua2mr21622730pbc.81.1394197652710; Fri, 07 Mar 2014 05:07:32 -0800 (PST) Received: by 10.70.74.9 with HTTP; Fri, 7 Mar 2014 05:07:32 -0800 (PST) In-Reply-To: <5319AEA2.2030402@ccsys.com> References: <5319AEA2.2030402@ccsys.com> Date: Fri, 7 Mar 2014 14:07:32 +0100 Message-ID: Subject: Re: FreeBSD 9.X network installation using PXE+TFTP (not NFS) ! From: amine tay To: "Chad J. Milios" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-hackers@freebsd.org 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 13:07:33 -0000 Hi , Thank you for your replies. Actually I can't use NFS, because in my automated os deployment solution, only TFTP is used to deploy (Redhat, CentOS...) and I am trying to implement freebsd to that automated deployment. 2014-03-07 12:33 GMT+01:00 Chad J. Milios : > 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. >