Custom System Information

You can include customized system information about your clients. System information is defined as key:value pairs, which can be assigned to clients. For example, you can define a key:value pair for a particular processor, then assign that key to all clients that have that processor installed. Custom system information is categorized, and can be searched using the Uyuni Web UI.

Before you begin, you need to create a key that allows you to store custom information.

Procedure: Creating a Custom System Information Key
  1. In the Uyuni Web UI, navigate to Systems  Custom System Info, and click Create Key.

  2. In the Key Label field, add a name for your key. Do not use spaces. For example, intel-x86_64-quadcore.

  3. In the Description field, provide any additional information required.

  4. Repeat for each key you require.

The information is available via Salt pillar. You can retrieve this information with a command such as:

salt $minionid pillar.get custom_info:key1

This command will result in an output such as:

$minionid:
    val1

When you have created some custom system information keys, you can apply them to clients.

Procedure: Applying Custom Information Keys to Clients
  1. In the Uyuni Web UI, navigate to Systems, click the client to apply custom information to, and navigate to the Details  Custom Info tab.

  2. Click Create Value.

  3. Locate the value you want to apply, and click the key label.

  4. In the Value field, provide any additional information.

  5. Click Update Key to apply the custom information to the client.

For more information about configuration management, see Configuration Management.