ipconfig: send host-name in DHCP requests
commit130c0f47fdf9c533deb1136cad5136f6cb7020f0
authorWu Fengguang <fengguang.wu@intel.com>
Sun, 30 May 2010 17:19:53 +0000 (30 17:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 14:05:03 +0000 (2 07:05 -0700)
tree38ab94d926bf68fc2dd5cb8941777574bcb26a11
parent614f60fa9d73a9e8fdff3df83381907fea7c5649
ipconfig: send host-name in DHCP requests

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@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c