Use the installadm validate command to validate system configuration profiles for syntactic correctness.
Use the –P option to validate profiles that have not been added to the install service. The value of the –P argument is the is the pathname to the profile.
Use the –p option to validate profiles that have already been added to the specified install service. Use the installadm list command, as shown in Example 8–38, to display possible values for the profile name. The create-profile subcommand validates system configuration profiles before adding them to the install service. The validate -p subcommand verifies that the profile has not become corrupted since it was added.
You must specify a service name for profiles that have been added to an install service and profiles that have not been added yet. The service name is required for profiles that have not yet been added to an install service because the DTD might be different in different versions of the OS. An install service might be defined to install a different version of the OS than the version your AI server is running. The profile must be validated against the DTD that will be in use on the client being installed. For more information see the service_bundle (4) man page.
Validated profiles are output to stdout. Errors are listed to stderr.