Changing the hostname in Solaris 10: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
Edit this file and enter your desired hostname and reboot. | Edit this file and enter your desired hostname and reboot. | ||
[[Category:Unix| ]] |
Revision as of 11:19, 24 April 2007
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.