Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.43. Method: getVariables

Description

Lists kickstart variables set in the 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
Returns

The following return values are available for this method:

  • struct - System kickstart variables
    • boolean netboot - netboot enabled
    • array - kickstart variables
      • struct - kickstart variable
        • string key
        • string or int value