DefaultController#

class efiboot.backends.default.DefaultController(controller)#

The default controller for EFI variables.

This is a simple proxy class. When constructed, it selects an appropriate backend for the current system.

Parameters

controller (EfiController) – The backend controller to proxy.

Methods

__init__

activate

Activate a boot entry.

create

Create a new boot entry on the EFI.

deactivate

Deactivate a boot entry.

delete

Delete a boot entry.

from_config

Create a controller from a config file.

get_state

Read the EFI variables.

is_compatible_with_host

True if this controller class is compatible with the host system.

set_bootnext

Set the bootnext field.

set_bootorder

Set the boot order.

set_timeout

Set the boot timeout.

unset_bootnext

Unset the bootnext field.

unset_bootorder

Unset the boot order.

unset_timeout

Unset the boot timeout.

Attributes

controller

The backend controller to proxy.