
1. Edit and change the old hostname in the following files:
• /etc/nodename
• /etc/hostname.*interface
• /etc/inet/hosts
• /etc/inet/ipnodes – Applies only to some releases in Solaris 10
2. Rename the hostname directory within the /var/crash directory
# cd /var/crash # mv old-hostname new-hostname
3. Reboot to apply the new hostname.
# reboot
