Before the rules file and profiles can be used, you must run the check script to validate that these files are set up correctly. If all the rules and profiles are valid, the rules.ok file is created, which is required by the custom JumpStart installation software to match a system to a profile. Table 8-6 shows what the check script does.
Table 8-6 What Happens When You Use check
The rules.ok file should be owned by root and have permissions equal to 644.
Make sure that the check script resides in the JumpStart directory.
The check script is provided in the Solaris_2.6/Misc/jumpstart_sample directory on the Solaris CD.
Run the check script to validate the rules file.
$ ./check [-p path] [-r file_name] |
Validates the rules file by using the check script from a specified Solaris 2.6 CD image, instead of the check script from the system you are using. path is a Solaris installation image on a local disk or a mounted Solaris CD. Use this option to run the most recent version of check if your system is running a previous version of Solaris. |
|
Specifies a rules file other than the one named rules. Using this option, you can test the validity of a rule before integrating it into the rules file. |
As the check script runs, it reports that it is checking the validity of the rules file and the validity of each profile. If no errors are encountered, it reports: The custom JumpStart configuration is ok.
The rules files is now validated. To read about the optional features available for custom JumpStart installations, see Chapter 9, Using Optional Custom JumpStart Features. To perform a custom JumpStart installation on a system, see Chapter 3, Performing a Custom JumpStart Installation.