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.
Characteristic | Value |
---|---|
Type | object |
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.
Characteristic | Value |
---|---|
Type | array |
-
Items of the array must have the type:
Characteristic Value Type Script
Link Script
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.
Characteristic | Value |
---|---|
Type | array |
-
Items of the array must have the type:
Characteristic Value Type Script
Link Script
preServicing
(optional)
Scripts to be run before Trident begins servicing the host.
Characteristic | Value |
---|---|
Type | array |
-
Items of the array must have the type:
Characteristic Value Type Script
Link Script