Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.120. Method: setVariables

Description

Sets a list of kickstart variables in the cobbler system record for the specified server.

Note

This call assumes that a system record exists in cobbler for the given system and raises an XML-RPC fault if not the case. To create a system record over XML-RPC use system.createSystemRecord. To create a system record in the Web UI navigate to SystemSpecified SystemProvisioningSelect a Kickstart profileCreate Cobbler System Record.
Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
  • boolean netboot
  • array:
    • struct - kickstart variable
      • string key
      • string or int value
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise