discovery-hostname-selector
A map of ssh public keys to install for the root user
This param sets the Discovery BootEnv (typically used to discover and create new machine objects when a Machine is Unknown to DRP) mechanism for assigning a machine hostname.
The configurable values are:
reverse-dns
(the default): Attempt a Reverse IP lookup of the Machines assigned IP address, and use thatd-mac
use the MAC address in the formd00-00-00-12-34-56
external-template
: allow operator to provide custom template to assign hostnamerandom
: Generates an 8 character random string for the hostname
In all cases, if the selected mechanism fails, then the fall-through default
behavior of using the dMAC process (eg. d00-00-00-12-34-56
) will be
used. This allows Discovery to complete successfully.
For the external-template
method, please review the Documentation
of the discovery-hostname-template
Param on how to correctly use it.
You MUST specify an external template on the system to use this value,
otherwise, the dMAC assignment for hostname and Machine object Name
will be used.
Note
If a hostname is specified in the DHCP lease mechanism, this will be honored and take precedence over any settings used by this Param.
Note
This param will generally have to be applied at the Global profile level, as the Discovery BootEnv is used to create new machine objects for Unknown Machines.