Show Table of Contents
20.21. listScripts
- Name
- listScripts
- Description
- List the pre and post scripts for a kickstart profile in the order they will run during the kickstart.
- Parameters
- string sessionKey
- string ksLabel - The label of the kickstart
- Return Value
- array:
- struct - kickstart script
- int
id - string
name - string
contents - string
script_type- Which type of script ('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 will be executed within the chroot environment. - boolean
erroronfail- True if the script will throw an error if it fails. - boolean
template- True if templating using cobbler is enabled - boolean
beforeRegistration- True if script will run before the server registers and performs server actions.

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.