-> set /HOST/bootmode script=value
where script controls the host server's firmware OpenBoot method of booting. Note that script does not affect the current /HOST/bootmode setting.
value can be up to 64 bytes in length.
You can specify a /HOST/bootmode setting and set the script within the same command. For example:
-> set /HOST/bootmode state=reset_nvram script="setenv diag-switch? true"
After the server resets and OpenBoot reads the value of the state property, all OpenBoot variables are set to the default values. Then OpenBoot reads the value of the script property and sets the diag-switch? variable to the user-requested value of true.