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 client that uses this derived manifest script.
Write a script to dynamically modify the base manifest at installation time based on attributes of the client being installed.
Add the derived manifest script to the appropriate AI install service, specifying criteria that define which 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 client installation time to produce an instance of an AI manifest. AI syntactically validates the resultant manifest.
If the client installation is successful, the derived manifest is copied to /var/log/install/derived/manifest.xml on the client, and the script used to derive the manifest is copied to /var/log/install/derived/manifest_script.