The rule keywords and rule values that you can use in the rules file are listed and described below.
minus sign (-)
Match always succeeds.
processor_type
Matches a workstation's processor type. The uname -p command reports the workstation's processor type.
For example, SPARC is a platform; sparc is a processor_type.
domain_name
Matches a workstation's domain name, which controls how a name service determines information.
If you have a workstation already installed, the domainname(1M) command reports the workstation's domain name.
disk_name -- A disk name in the form cxtydz, such as c0t3d0, or the special word rootdisk. rootdisk should be used only when trying to match workstations that contain the factory-installed JumpStart software. rootdisk is described on Table 8-3.
size_range -- The size of the disk, which must be specified as a range of Mbytes (xx-xx).
Matches a workstation's disk (in Mbytes).
Example: disksize c0t3d0 250-300
The example tries to match a workstation with a c0t3d0 disk that is between 250 and 300 Mbytes.
When calculating size_range, remember that a Mbyte equals 1,048,576 bytes. A disk may be advertised as a "207 Mbyte" disk, but it may have less than 207 million bytes of disk space. The Trusted Solaris installation program will actually view the "207 Mbyte" disk as a 197 Mbyte disk because 207,000,000 / 1,048,576 = 197. So, a "207 Mbyte" disk would not match a size_range equal to 200-210.
IP_address
Matches a workstation's IP address.
host_name
Matches a workstation's host name.
If you have a workstation already installed, the uname -n command reports the host name.
slice - A disk slice name in the form cwtxdysz, such as c0t3d0s5, or the special words any or rootdisk. If -any is used, any disk attached to the workstation attempts to match. rootdisk should be used only when trying to match workstations that contain the factory-installed JumpStart software.rootdisk is described on Table 8-3.
version - A version name, such as Trusted_Solaris_7, or the special word any. If any is used, any Trusted Solaris or SunOS release is matched.
Matches a disk that has a root file system corresponding to a particular version of Trusted Solaris software.
Factory-installed JumpStart may not be supported by Trusted Solaris software.
platform_group
Matches a workstation's platform name.
Valid values are sun4d, sun4c, sun4m, and sun4u. (See Solaris 7 Sun Hardware Platform Guide.)
If you have a workstation already installed, the arch -k command or the uname -m command reports the workstation's platform group.
physical_mem
Matches a workstation's physical memory size (in Mbytes). The value must be a range of Mbytes (xx-xx) or a single Mbyte value.
Example: memsize 32-64
The example tries to match a workstation with a physical memory size between 32 and 64 Mbytes.
If you have a workstation already installed, the prtconf(1M) command reports the workstation's physical memory size in line 2. Run the command in the role admin.
model_name
Matches a workstation's model number, which is workstation-dependent and varies by the manufacturer. The list shown is not complete.
If you have a workstation already installed, the prtconf command reports the workstation's model number in line 5.
If you have a workstation already installed, the uname -i command reports the workstation's model name.
For example, a system name is different from a model_name:
Model Name
Sun 4_60
SUNW,Sun_4_50
SUNW,SPARCstation-10
SUNW,SPARCclassic
SUNW,SPARCstation-LX
SUNW,SPARCserver-1000
SUNW,SPARCcenter-2000
SUNW,SPARCstation-10,SX
SUNW,SPARCstation-20
SUNW,S240
SUNW,Ultra-1
SUNW,Ultra-1
SUNW,Ultra-2
SUNW,Ultra-Enterprise
Note: If the model_name contains spaces, the model_name must be inside a pair of single quotes ('). For example: 'SUNW,Sun 4_60'
network_num
Matches a workstation's network number, which the Trusted Solaris installation program determines by performing a logical AND between the workstation's IP address and the subnet mask.
Example: network 193.144.2.0
The example would match a workstation with a 193.144.2.8 IP address (if the subnet mask were 255.255.255.0).
Trusted_Solaris_version
Matches a version of Trusted Solaris software already installed on a workstation. Trusted_Solaris_version is the version of the Trusted Solaris environment installed on the workstation: for example, Trusted Solaris 2.5.1.
size_range
Matches the total disk space on a workstation (in Mbytes). The total disk space includes all the operational disks attached to a workstation. The value must be specified as a range of Mbytes (xx-xx).
Example: totaldisk 300-500
The example tries to match a workstation with a total disk space between 300 and 500 Mbytes.
When calculating size_range, remember that a Mbyte equals 1048576 bytes. A disk may be advertised as a "207 Mbyte" disk, but it may have only 207 million bytes of disk space. The Trusted Solaris installation program will actually view the "207 Mbyte" disk as a 197 Mbyte disk because 207000000 / 1048576 = 197. So, a "207 Mbyte" disk would not match a size_range equal to 200-210.