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; eitherpreorpost - string
interpreter- The scripting language interpreter to use for this script. An empty string indicates the default kickstart shell. - boolean
chroot-trueif the script executes within the chroot environment. - boolean
erroronfail-trueif the script throws an error if it fails. - boolean
template-trueif templating using cobbler is enabled