You are going to use the- Automated installer (AI) to install a non global zone named zone1. You
have created a custom manifest for the non-global zone and named it zone1manifest
Which command will you use to add this custom manifest to the s11-sparc install service and
associate this custom manifest with the non-global zone?
A.
installadm create-profile-n s11-sparc-f /tmp/zone1manifest.xml-c
B.
installadm create-manifest-n s11-sparc-f /tmp/zone1manifest.xml-m
C.
installadm create-client-n s11-sparc-f /tmp/zone1manifest.xml-m zone1manifest-c zonename=
�zone1�
D.
installadm create-service-n s11-sparc-f /tmp/zone1manifest.xml-m zone1manifest-c
zonename=�zone1�
Explanation:
installadm add-manifest
Associates manifests with a specific install
service, thus making the manifests available on
the network, independently from creating a
service. When publishing a non-default manifest,
it is required to associate criteria either viacriteria entered on the command line (-c) or
via a criteria XML file (-C).
Reference: installadm
D
B is the answer
installadm create-manifest –n s11-sparc –f /term/zone1manifest.xml –m zone1manifest –c
zonename=“zone1”
would be a correct one.
installadm create-manifest -n s11-sparc -f /tmp/zone1manifest.xml -c zonename=”zone1″
B
Add a Derived Manifests Script To an Install Service
Add a script to an AI install service the same way you add an XML manifest to the install service. Use the same options to specify criteria to select which clients will use this script to create a manifest for their installation. You can update a script just as you can update an XML manifest. A script can be set to be the default manifest for the service. Scripts are shown when you list manifests associated with a service. The contents of a script can be exported just as an XML manifest can be exported.
When you add an XML manifest to an install service, the manifest is validated. When you add a script to an install service, the script is not validated.
Validate a derived AI manifest before adding the script to an install service.
Run the script in an environment similar to the intended client system.
Use the validate subcommand on the resulting manifest.
$ /usr/bin/aimanifest validate
Messages are displayed only if the validation fails.
Add the script to the appropriate AI install service, specifying criteria that define which clients should use these installation instructions.
# installadm create-manifest -n s11-x86 -f ./mac1.ksh -m mac1 \
-c mac=BB:AA:AA:AA:AA:AA
You can specify multiple -c options or one -C file. See also the set-criteria subcommand. See Chapter 9, Customizing Installations for information about specifying client criteria.
See Maintain an Install Server for information about the list, export, create-manifest, set-criteria, update-manifest, and set-service subcommands.