Use the js2ai command with the –r option to convert both JumpStart rules and their associated profiles to AI criteria and manifests. Initially, use the –S option to skip validation. This command performs a conversion operation on the rules file and the profiles referenced by the rules file. Each profile referenced in the rules file is processed against the AI client provisioning manifest, /usr/share/auto_install/manifest/default.xml. This step creates a directory named AI_profile-name for each profile specified in the JumpStart rules file. The AI_profile-name directory contains an AI criteria file in the form criteria-rule-number.xml that corresponds to the rule that referenced this profile. The AI_profile-name directory also contains AI manifest files in the form profile-name.arch.xml that correspond to the profile-name profile file.
When you receive a message that the conversion completed successfully, run the js2ai command without the –S option to validate the output AI manifests. Validation errors must be corrected in the AI manifest files.
If you do not see a message that the conversion was successfully completed, examine the error report and the js2ai.log file. The error report and the log file report warnings, process errors, unsupported items, conversion errors, and validation errors. The error report is a table output to stdout that shows the number of each type of error that was encountered in converting the rules and profile files. The log file describes the problems.
Correct any process errors.
Remove any lines from the rules and profile files that are listed as unsupported items.
Examine the conversion errors and correct the errors if possible. Otherwise, remove the lines that are causing the errors.
Examine any warning messages and make sure no corrections are necessary.
Note the following options for the js2ai command:
To display more information about a rule or profile file conversion, use the –v option. For more information, see Displaying Additional Profile Conversion Information.
To validate a specific output AI manifest against the appropriate AI DTD, use the –V option. For more information, see Validating an Output AI Manifest.
To convert one JumpStart profile file only, use the –p option. See the examples in Fixing AI Manifest Files.