Probe Keywords and Values
Table 8-10 describes each rule keyword and its equivalent probe keyword.
Note - Always place probe keywords at or near the beginning of the rules
file.
Table 8-10 Descriptions of Probe Keywords
Rule Keyword |
Equivalent Probe Keyword |
Description of Probe Keyword |
any |
None |
|
arch
|
arch |
Determines the kernel architecture, i386 or SPARC,
and sets SI_ARCH. |
disksize |
disks |
Returns the
size of a system's disks in Mbytes in kernel probe order, c0t3d0s0, c0t3d0s1,
c0t4d0s0. disksize sets SI_DISKLIST, SI_DISKSIZES, SI_NUMDISKS, and SI_TOTALDISK. |
domainname |
domainname
|
Returns a system's NIS or NIS+ domain name or blank and
sets SI_DOMAINNAME. The domainname keyword returns the output of domainname(1M). |
hostaddress
|
hostaddress |
Returns a system's IP address, the first address that
is listed in the output of ifconfig(1M) -a that is not lo0, and
sets SI_HOSTADDRESS. |
hostname |
hostname |
Returns a system's host name
that is the output from uname(1) -n and sets SI_HOSTNAME. |
installed
|
installed |
Returns the version name
of the Solaris OS that is installed on a system and sets SI_ROOTDISK
and SI_INSTALLED. If the JumpStart program finds a Solaris release but is unable
to determine the version, the version that is returned is SystemV. |
karch
|
karch |
Returns a system's platform group, for example i86pc
or sun4u, and sets SI_KARCH. For a list of platform names, see
Solaris Sun Hardware Platform Guide at http://docs.sun.com. |
memsize |
memsize |
Returns the
size of physical memory on a system in Mbytes and sets SI_MEMSIZE. |
model
|
model |
Returns a system's platform name
and sets SI_MODEL. For a list of platform names, see the Solaris Sun Hardware Platform Guide
at http://docs.sun.com. |
network |
network |
Returns a system's network number,
which the JumpStart program determines by performing a logical AND between the system's
IP address and the subnet mask. The system's IP address and the subnet
mask are extracted from the first address that is listed in the output
of ifconfig(1M) -a that is not lo0. The network keyword sets SI_NETWORK. |
osname
|
osname |
Returns the version and
operating system name of the Solaris OS that is found on a CD
and sets SI_OSNAME. If the JumpStart program finds a Solaris release but is
unable to determine the version, the version that is returned is SystemV. |
|
rootdisk |
Returns
the name and size in Mbytes of a system's root disk
and sets SI_ROOTDISK. |
totaldisk |
totaldisk |
Returns the total disk
space on a system (in Mbytes) and sets SI_TOTALDISK. The total disk
space includes all of the operational disks that are attached to a system. |