34.134. setVariables
- Name
- 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 will raise an XMLRPC fault if that is not the case. To create a system record over xmlrpc use system.createSystemRecord To create a system record in the Web UI please go to System -> <Specified System> -> Provisioning -> Select a Kickstart profile -> Create Cobbler System Record.
- Parameters
- string sessionKey
- int serverId
- boolean netboot
- array:
- struct - kickstart variable
- string
key
- string or int
value
- Return Value
- int - 1 on success, exception thrown otherwise.