Skip to main content

Setting One Time Boot

From V3.5.0, OneCLI supports to communicate with BMC through Redfish API by using the --redfish parameter. Users can also set One Time Boot under the Boot group.

Settings supported in Boot group
  • BootSourceOverrideEnabled

  • BootSourceOverrideMode

  • BootSourceOverrideTarget

  • UefiTargetBootSourceOverride

Example of setting One Time Boot to Mounted ISO

OneCli config batch --file onetimeboot.txt --redfish
File “onetimeboot.txt”:
set Boot.BootSourceOverrideEnabled Once
set Boot.BootSourceOverrideMode UEFI
set Boot.BootSourceOverrideTarget Cd