Function - getfqdn_env#
- openfl.utilities.utils.getfqdn_env(name='')[source]#
Get the system FQDN, with priority given to environment variables.
This function retrieves the fully qualified domain name (FQDN) of the system. If the ‘FQDN’ environment variable is set, its value is returned. Otherwise,the FQDN is determined based on the system’s hostname.
- Parameters:
name (str, optional) – The name from which to extract the FQDN. Defaults to ‘’.
- Returns:
The FQDN of the system.
- Return type:
str