Show Table of Contents
20.22. orderScripts
- Name
- orderScripts
- Description
- Change the order that kickstart scripts will run for this kickstart profile. Scripts will run in the order they appear in the array. There are three arrays, one for all pre scripts, one for the post scripts that run before registration and server actions happen, and one for post scripts that run after registration and server actions. All scripts must be included in one of these lists, as appropriate.
- Parameters
- string sessionKey
- string ksLabel - The label of the kickstart
- array:
- int - IDs of the ordered pre scripts
- array:
- int - IDs of the ordered post scripts that will run before registration
- array:
- int - IDs of the ordered post scripts that will run after registration
- Return Value
- int - 1 on success, exception thrown otherwise.

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.