Go to main content

Customizing Automated Installations With Manifests and Profiles

Exit Print View

Updated: November 2020
 
 

Other AI Manifest Management Tasks

This section describes additional procedures to maintain AI manifests.

Updating an AI Manifest

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

Validating an AI Manifest

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.


Note -  The create-manifest subcommand automatically validates AI manifests before adding them to the install service.

Validated manifests are displayed as stdout output. Errors are listed as stderr output.