自定义系统信息

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 SUSE Multi-Linux Manager Web UI.

开始前,需要创建可让您存储自定义信息的键。

过程:创建自定义系统信息键
  1. 在 SUSE Multi-Linux Manager Web UI中,导航到系统  自定义系统信息,然后单击 创建键

  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. 对需要创建的每个键重复以上步骤。

可以通过 Salt pillar 获取此信息。可以使用如下命令检索此信息:

salt $minionid pillar.get custom_info:key1

此命令将产生类似如下的输出:

$minionid:
    val1

创建了一些自定义系统信息键之后,您便可以将其应用到客户端。

过程:将自定义信息键应用到客户端
  1. In the SUSE Multi-Linux Manager Web UI, navigate to Systems, click the client to apply custom information to, and navigate to the Details  Custom Info tab.

  2. 单击 创建值

  3. 找到要应用的值,然后单击键标签。

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

  5. 单击 更新键 以向客户端应用自定义信息。

有关配置管理的详细信息,请参见 配置管理