Red Hat Training
A Red Hat training course is available for Red Hat Satellite
34.134. setVariables
- 名前
- setVariables
- 説明
- 指定したサーバーの cobbler システムレコードに設定されているキックスタート変数一覧を設定します。この呼び出しは、指定したシステムの cobbler にシステムレコードが存在することを前提としており、存在しない場合は XMLRPC エラーが発生します。XMLRPC でシステムレコードを作成する場合は、system.createSystemRecord を使用します。Web UI でシステムレコードを作成するには、System -> <Specified System> -> Provisioning -> Select a Kickstart profile -> Create Cobbler System Record に移動します。
- パラメーター
- string sessionKey
- int serverId
- boolean netboot
- array:
- struct - kickstart variable
- string
key
- string or int
value
- 戻り値
- int - 成功の場合は 1。それ以外は exception thrown