On Tue, Nov 15, 2011 at 8:43 PM, Harry Putnam <rea...@newsguy.com> wrote:
> Is there some different way to change host name in oracle-solaris 11?
>
> There is no /etc/nodename file.  and I find the only place under /etc/
> the hosts' current name is referenced is in:
>   /etc/svc/profile/site/sc_profile.xml
>
> That doesn't look like the kind of place renaming would be done.
>
> So any special technique involved or am expected to create /etc/nodename?

>From nodename(4):

     When a machine is standalone or its IP address is configured
     locally,  the  svc:/system/identity:node  SMF  service has a
     property, namely nodename, for setting the system name.

     To set the name of the node use the following command:

       # svccfg -s node setprop config/nodename = "mynodename"
       # svcadm refresh node


-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to