Home >

LunaSH Command Reference Guide > LunaSH Commands > network > network hostname

network hostname

Set the system hostname. Note that the new hostname will not be completely in effect until the network service is restarted (see the service -start command). To see existing hostname, use the network show command.

Syntax

lunash:> network hostname <hostname>

Parameter Shortcut Description
<hostname>  

Set system host name to the specified value.

Example

lunash:> net hostname Luna10

Success: Hostname Luna10 set.