UefiBoot#

class UefiBoot(is_secure_boot_enabled=None, nvram_device=None, boot_device=None, boot_order=None, *args, **kwargs)#

Bases: object

UEFI boot mode and its associated configuration.

Parameters:
  • is_secure_boot_enabled – (is_secure_boot_enabled) Indicate whether to enable secure boot or not.

  • nvram_device – (nvram_device)

  • boot_device – (boot_device)

  • boot_order – (boot_order) Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.

property boot_device#
Type:

BootDeviceDisk | BootDeviceNic

property boot_order#

Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.

Type:

list[ BootDeviceType ]

property is_secure_boot_enabled#

Indicate whether to enable secure boot or not.

Type:

bool

property nvram_device#
Type:

NvramDevice

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model