Identify an existing AI manifest to use as a base manifest to modify.
To develop and test your script, you can work with a local copy. At installation time, the base manifest must be accessible by each AI client that uses this derived manifest script.
Write a script to dynamically modify the base manifest at installation time based on attributes of the AI client being installed.
Add the derived manifest script to the appropriate AI install service, specifying criteria that define which AI clients should use this script to create their installation instructions at installation time. If you do not want to specify client selection criteria, you can add this script as the default AI manifest for the service.
AI executes the script at installation time to produce an instance of an AI manifest. AI syntactically validates the resulting manifest.
If the installation is successful, the derived manifest is copied to /var/log/install/derived/manifest.xml on the AI client, and the script used to derive the manifest is copied to /var/log/install/derived/manifest_script.