Boot Options

You can control a virtual machine’s boot behavior by setting the
VirtualMachineConfigSpec.bootOptions
property. The
VirtualMachineBootOptions
data object in that property allows you to specify the following properties:
  • bootDelay
    – Delay before starting the boot sequence, in milliseconds.
  • bootRetryDelay
    – Delay before a boot retry, in milliseconds. This property is only considered if the
    bootRetryEnabled
    property is set to
    true
    .
  • bootRetryEnabled
    – If set to
    true
    , a virtual machine that fails to boot tries again after the
    bootRetryDelay
    time period has elapsed.
  • enterBIOSSetup
    – If set to
    true
    , the virtual machine enters BIOS setup the next time it boots. The virtual machine resets this flag to
    false
    so subsequent boots proceed normally.