kiwi.bootloader.template Package

Submodules

kiwi.bootloader.template.grub2 Module

class kiwi.bootloader.template.grub2.BootLoaderTemplateGrub2[source]

Bases: object

grub2 configuraton file templates

get_install_template(failsafe=True, has_graphics=True, has_serial=False, with_timeout=True)[source]

Bootloader configuration template for install media

Parameters:
  • failsafe (bool) – with failsafe true|false

  • has_graphics (bool) – supports graphics terminal

  • has_serial (bool) – supports serial terminal

Returns:

instance of Template

Return type:

Template

get_iso_template(failsafe=True, has_graphics=True, has_serial=False, checkiso=False)[source]

Bootloader configuration template for live ISO media

Parameters:
  • failsafe (bool) – with failsafe true|false

  • has_graphics (bool) – supports graphics terminal

  • has_serial (bool) – supports serial terminal

Returns:

instance of Template

Return type:

Template

get_multiboot_install_template(failsafe=True, has_graphics=True, has_serial=False, with_timeout=True)[source]

Bootloader configuration template for install media with hypervisor, e.g Xen dom0

Parameters:
  • failsafe (bool) – with failsafe true|false

  • has_graphics (bool) – supports graphics terminal

  • has_serial (bool) – supports serial terminal

Returns:

instance of Template

Return type:

Template

get_multiboot_iso_template(failsafe=True, has_graphics=True, has_serial=False, checkiso=False)[source]

Bootloader configuration template for live ISO media with hypervisor, e.g Xen dom0

Parameters:
  • failsafe (bool) – with failsafe true|false

  • has_graphics (bool) – supports graphics terminal

  • has_serial (bool) – supports serial terminal

Returns:

instance of Template

Return type:

Template

Module Contents