-> set /HOST/bootmode script="value"
where script controls the host server's firmware OpenBoot method of booting. The script does not affect the current /HOST/bootmode setting.
value can be up to 255 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 values stored in the script, OpenBoot sets the diag-switch? variable to the user-requested value of true.