Skip to main content

default_nodename

Return the default nodename for this process.

def default_nodename(
hostname: string
) - > string

Return the default nodename for this process.

Parameters

NameTypeDescription
hostnamestringThe raw hostname string to be parsed into name and host components; if empty, system defaults are used.

Returns

TypeDescription
stringThe resolved nodename consisting of a name component and a host component, falling back to system defaults if inputs are empty.