カスタムシステム情報
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. -
キーの更新をクリックしてカスタム情報をクライアントに適用します。
設定管理の詳細については、設定管理を参照してください。