From: David Miller on
From: Wu Fengguang <fengguang.wu(a)intel.com>
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 <fengguang.wu(a)intel.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Andi Kleen on
On Wed, Jun 02, 2010 at 07:05:31AM -0700, David Miller wrote:
> From: Wu Fengguang <fengguang.wu(a)intel.com>
> 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 <fengguang.wu(a)intel.com>
>
> 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(a)linux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/