Skip to main content

Local Node Labels

Node labels can now also be specified in a local file on each node (/etc/elemental/labels.yaml). This file will be read during registration and used to set extra labels in the inventory.

The file can be generated using yip, ignition or during installation.

info

If the same key is specified for both local and MachineRegistration labels the MachineRegistration takes preference.

/etc/elemental/labels.yaml
localMachineUUID: "${System Information/UUID}"
localHostname: "${Runtime/Hostname}"
localCluster: "fire"