17.18. Method: listScripts
List the pre and post scripts for a kickstart profile.
The following parameters are available for this method:
- string
sessionKey - string
ksLabel- The label of the kickstart
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

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.