Monday, October 18, 2010

DHCP hostname.

Set the hostname: `# hostname `
Add ‘HOSTNAME=’ to ‘/etc/sysconfig/network’ (makes the change permanent).
Add ‘DHCP_HOSTNAME=’ to ‘/etc/sysconfig/network-scripts/ifcfg-eth0′
Restart the networking service: `# service network restart`

0 comments: