kcos networking hostname set
Use the kcos networking hostname set command to configure the hostname—and optionally the
domain name—for the node on which KCOS is running.
Syntax
kcosnetworking hostname set [flags] <hostname> <domain name>
Flags
-h, --help Display help for the command
Arguments
<hostname> The hostname to assign to the node. The hostname may be a simple name
or an FQDN. The semantics are identical to /etc/hostname.
<domain name> The domain name to assign to the node. This argument is optional.
Examples
kcos networking hostname set kcosMaster27
kcos networking hostname set north14.xyz.is.keysight.com
See also
kcosnetworking hostname show
Notes
The hostname must observe the following requirements:
l may contain letters and digits
l may contain only the following special characters: hyphen and dot ("-", ".")
l an alpha character must follow each dot
l cannot start with a digit, hyphen, or dot
l cannot end with hyphen (if it ends with a dot, the dot will be removed)
l cannot have more than 63 characters
Appendix A KCOS CLI command reference
– 55 – 913-2626-01