Modify puppet razor node name (not hostname) to a unique node name after registration instead of node names like node1,node2,node3
I am trying to use puppet razor to deploy about 1000 servers, and i realize that puppet razor gives node names like node1,node2,node3 after a node is registered.
Is there any way to set user-specific node names to these servers, either before registration or after registration?
The reason being : After provisioning all these 1000 servers - and if one of those servers needed to be re-provisioned later in future - it would be easier to install using its hostname ( OS hostname).
Right now - when i run - 'razor nodes'. All i see is a list of node names such as node1,node2,node3 and mac-addresses. If i have to re-install one of those 1000 servers - It would be a round about way to find out the mac-address of that machine and find the nodename of that mac-address to re-install that node.
I am able to edit the node metadata - hostname successfully, but i would like to be able to edit the node name to be the same as the node OS hostname.
Is there any easy way to do this? ( other than writing my own wrapper to link the mac-addresses with hostnames and node names in CMDB)