Difference between revisions of "Omnios change hostname"

From Asenjo
Jump to: navigation, search
m
 
Line 2: Line 2:
  
 
Reboot or reload svc:/system/identity:node:
 
Reboot or reload svc:/system/identity:node:
 
+
<pre>
<code><pre>
+
  
 
svcadm restart svc:/system/identity:node
 
svcadm restart svc:/system/identity:node
  
</pre></code>
+
</pre>
  
 
If you log off and on again, your shell should show the new system name
 
If you log off and on again, your shell should show the new system name
  
 
[[Category:Omnios]]
 
[[Category:Omnios]]

Latest revision as of 22:13, 28 August 2015

edit /etc/nodename ; change the name to whatever you want.

Reboot or reload svc:/system/identity:node:


svcadm restart svc:/system/identity:node

If you log off and on again, your shell should show the new system name