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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.