Changing Hostname on Solaris 11

 

In permanently changing hostname in solaris 11 steps are below.

root@solaris11-server:/tmp# HOST=solaris11new-server
svccfg -s system/identity:node setprop config/nodename=”$HOST”
svccfg -s system/identity:node setprop config/loopback=”$HOST”
svccfg -s system/identity:node refresh
svcadm restart system/identity:node

 

Advertisements