NVRAM Domain Configuration Variables
Sun Confidential: Internal Only
113
SunService Sun Microsystems, Inc. All Rights Reserved. Enterprise Services
To show a specific parameter (for example the
auto-boot?
variable),
type
printenv
and the variable name:
{2} ok printenv auto-boot?
auto-boot? = true
Changing System Configuration Variables
You can modify the values of the configuration variables, and any
changes you make remain in effect even after a power cycle.
Caution –
Adjust configuration variables with caution. These NVCI
variables determine the startup routine of the system so their
configuration, if incorrect, can cause the system to operate in an
unexpected manner.
The
setenv
Command
To change a parameter, use the
setenv
command:
{2} ok setenv local-mac-address? true
The
devalias
Command
Check out the device aliases:
{2} ok devalias disk
disk /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@0,0
{2} ok devalias cdrom
cdrom /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@6,0:f
{2} ok devalias net
net /ssm@0,0/pci@18,700000/pci@1/SUNW,hme
{2} ok