Red Hat Training

A Red Hat training course is available for Red Hat Satellite

17.18. Method: listScripts

Description

List the pre and post scripts for a kickstart profile.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string ksLabel - The label of the kickstart
Returns

The following return values are available for this method:

  • array:
    • struct - kickstart script
      • int id
      • string contents
      • string script_type - The type of script; either pre or post
      • string interpreter - The scripting language interpreter to use for this script. An empty string indicates the default kickstart shell.
      • boolean chroot - true if the script executes within the chroot environment.
      • boolean erroronfail - true if the script throws an error if it fails.
      • boolean template - true if templating using cobbler is enabled