This procedure describes how to test the derived manifests script on one of the intended systems without running the full installation process.
Before You Begin
Make sure to set environment variables in the test environment with values that represent the systems that will be installed using the script. Use the sample file /usr/share/auto_install/derived_manifest_test_env.sh as a template. Change the values as applicable.
Ensure that your role has the appropriate rights profiles to perform this procedure. See Using Rights Profiles to Install Oracle Solaris.
The boot menu appears.
Use wget or sftp to copy your script from the AI server.
Use one of the following methods to debug the script:
Type each individual aimanifest command statement one by one and see the results.
Use the following command to run AI in a test mode:
$ auto-install -m script -i
The following line indicates that the script validates correctly:
Derived Manifest Module: XML validation completed successfully