Changing the hostname in Solaris 10

From RSWiki
Revision as of 12:17, 20 August 2009 by Robert (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This presumes that your IP address is assigned by DHCP

Log in as root.

Open a terminal window and change into the /etc/default directory.

Edit the file titled dhcpagent

On the very last line remove the number 12 from the entry there.

Create a new file in /etc called nodename

Edit this file and enter your desired hostname and reboot.