Skip to main content

Scripts

Scripts that can be run on the host during Trident stages. These scripts are run in the order they are defined. Ensure that the scripts are idempotent as they may be run multiple times.

CharacteristicValue
Typeobject

Properties

postConfigure (optional)

Scripts to be run after step 'Configure' in Trident is complete.

These scripts are run from within a chroot of the target OS. The $TARGET_ROOT variable will be set to '/' for consistency with postProvision scripts.

CharacteristicValue
Typearray
  • Items of the array must have the type:

    CharacteristicValue
    TypeScript
    LinkScript

postProvision (optional)

Scripts to be run after step 'Provision' in Trident is complete.

These scripts are run with the root filesystem of the target OS mounted at $TARGET_ROOT and other partitions specified for the target OS mounted relative to that.

CharacteristicValue
Typearray
  • Items of the array must have the type:

    CharacteristicValue
    TypeScript
    LinkScript

preServicing (optional)

Scripts to be run before Trident begins servicing the host.

CharacteristicValue
Typearray
  • Items of the array must have the type:

    CharacteristicValue
    TypeScript
    LinkScript