From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH] ipconfig: send host-name in DHCP requests Date: Wed, 2 Jun 2010 20:56:01 +0200 Message-ID: <20100602185601.GB14221@basil.fritz.box> References: <20100531031953.GA10590@localhost> <20100602.070531.73368509.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: fengguang.wu@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andi@firstfloor.org To: David Miller Return-path: Received: from one.firstfloor.org ([213.235.205.2]:57394 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758214Ab0FBS4H (ORCPT ); Wed, 2 Jun 2010 14:56:07 -0400 Content-Disposition: inline In-Reply-To: <20100602.070531.73368509.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Jun 02, 2010 at 07:05:31AM -0700, David Miller wrote: > From: Wu Fengguang > Date: Mon, 31 May 2010 11:19:53 +0800 > > > Normally dhclient can be configured to send the "host-name" option > > in DHCP requests to update the client's DNS record. However for an > > NFSROOT system, dhclient shall never be called (which may change the > > IP addr and therefore lose your root NFS mount connection). > > > > So enable updating the DNS record with kernel parameter > > > > ip=::::$HOST_NAME::dhcp > > > > Signed-off-by: Wu Fengguang > > Applied, thanks. Small nit: Fengguang, please document the new option in Documentation/kernel-parameters.txt That could be done in a follow-on patch. -Andi > -- ak@linux.intel.com -- Speaking for myself only.