Changing hostname in Solaris
May 20, 2009 · Filed Under General Solaris topics · 2 Comments
I had to change the hostname in one of Solaris zones today, and just out of curiousity looked into /etc/init.d/network script. That’s how I learned a new (to me) option of the uname command, which seems to be specific to Solaris: uname -S <newhostname>.
So here’s a very simple procedure for updating the hostname of your Solaris 10 server.
