VMware

Boot Namespace

The Boot namespace provides commands for configuring the settings used when booting a virtual machine.

List of commands:



Get Command

dcli com vmware vcenter vm hardware boot get

Description

Returns the boot-related settings of a virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.

Example

dcli com vmware vcenter vm hardware boot get --vm testId


Update Command

dcli com vmware vcenter vm hardware boot update

Description

Updates the boot-related settings of a virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
type string No Firmware type to be used by the virtual machine. If unset, the value is unchanged. Valid values are: {BIOS, EFI}
efi‑legacy‑boot bool No Flag indicating whether to use EFI legacy boot mode. If unset, the value is unchanged.
network‑protocol string No Protocol to use when attempting to boot the virtual machine over the network. If unset, the value is unchanged. Valid values are: {IPV4, IPV6}
delay int No Delay in milliseconds before beginning the firmware boot process when the virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine console and enter BIOS setup mode. If unset, the value is unchanged.
retry bool No Flag indicating whether the virtual machine should automatically retry the boot process after a failure. If unset, the value is unchanged.
retry‑delay int No Delay in milliseconds before retrying the boot process after a failure; applicable only when Boot.Info.retry is true. If unset, the value is unchanged.
enter‑setup‑mode bool No Flag indicating whether the firmware boot process should automatically enter setup mode the next time the virtual machine boots. Note that this flag will automatically be reset to false once the virtual machine enters setup mode. If unset, the value is unchanged.

Example

dcli com vmware vcenter vm hardware boot update --vm testId