The ironic_python_agent.extensions.image Module

class ironic_python_agent.extensions.image.ImageExtension(agent=None)[source]

Bases: ironic_python_agent.extensions.base.BaseAgentExtension

install_bootloader(**command_params)[source]

Install the GRUB2 bootloader on the image.

Parameters:
  • root_uuid – The UUID of the root partition.
  • efi_system_part_uuid – The UUID of the efi system partition. To be used only for uefi boot mode. For uefi boot mode, the boot loader will be installed here.
Raises:

CommandExecutionError if the installation of the bootloader fails.

Raises:

DeviceNotFound if the root partition is not found.

Previous topic

The ironic_python_agent.extensions.flow Module

Next topic

The ironic_python_agent.extensions.iscsi Module

Project Source

This Page