自定义系统信息
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.
开始前,需要创建可让您存储自定义信息的键。
-
在 SUSE Multi-Linux Manager Web UI中,导航到,然后单击 创建键。
-
In the
Key Labelfield, add a name for your key. Do not use spaces. For example,intel-x86_64-quadcore. -
In the
Descriptionfield, provide any additional information required. -
对需要创建的每个键重复以上步骤。
可以通过 Salt pillar 获取此信息。可以使用如下命令检索此信息:
salt $minionid pillar.get custom_info:key1
此命令将产生类似如下的输出:
$minionid:
val1
创建了一些自定义系统信息键之后,您便可以将其应用到客户端。
-
In the SUSE Multi-Linux Manager Web UI, navigate to
Systems, click the client to apply custom information to, and navigate to the tab. -
单击 创建值。
-
找到要应用的值,然后单击键标签。
-
In the
Valuefield, provide any additional information. -
单击 更新键 以向客户端应用自定义信息。
有关配置管理的详细信息,请参见 配置管理。