Red Hat Training

A Red Hat training course is available for Red Hat Satellite

3.7. addScriptRun

Add an action to run a script to an Action Chain. NOTE: The script body must be Base64 encoded!
  • string sessionKey - Session token, issued at login
  • int serverId - System ID
  • string chainLabel - Label of the chain
  • string uid - User ID on the particular system
  • string gid - Group ID on the particular system
  • int timeout - Timeout
  • string scriptBodyBase64 - Base64 encoded script body
Return Value
  • int actionId - The id of the action or throw an exception