This section describes additional procedures to maintain AI manifests.
The installadm update-manifest command replaces the contents of a manifest or script with contents from another file or script. The criteria, default status, and manifest name are not changed as a result of the update. The command also validates the XML manifest files while updating.
The manifest must already exist in the specified service. Use the installadm list –m command to confirm.
This example updates the content of the sparc-ent manifest in the solaris11_4-sparc service with the content of ./mymanifests/manifest-new-sparc-ent.xml.
$ installadm update-manifest -n solaris11_4-sparc \ -f ./mymanifests/manifest-new-sparc-ent.xml -m sparc-ent
The installadm validate –m command validates a service's AI manifests for syntactic correctness to ensure they have not been corrupted. If used with the –M manifest-pathname option, the validation includes manifests that do not have assigned services.
Validated manifests are displayed as stdout output. Errors are listed as stderr output.