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, hybrid=True, terminal='gfxterm', with_timeout=True)[source]

Bootloader configuration template for install media

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

  • hybrid (bool) – with hybrid true|false

  • terminal (string) – output terminal name

Returns:

instance of Template

Return type:

Template

get_iso_template(failsafe=True, hybrid=True, terminal='gfxterm', checkiso=False)[source]

Bootloader configuration template for live ISO media

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

  • hybrid (bool) – with hybrid true|false

  • terminal (string) – output terminal name

Returns:

instance of Template

Return type:

Template

get_multiboot_install_template(failsafe=True, terminal='gfxterm', with_timeout=True)[source]

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

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

  • terminal (string) – output terminal name

Returns:

instance of Template

Return type:

Template

get_multiboot_iso_template(failsafe=True, terminal='gfxterm', checkiso=False)[source]

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

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

  • terminal (string) – output terminal name

Returns:

instance of Template

Return type:

Template

kiwi.bootloader.template.isolinux Module

class kiwi.bootloader.template.isolinux.BootLoaderTemplateIsoLinux[source]

Bases: object

isolinux configuraton file templates

get_install_message_template()[source]

Bootloader template for text message file in install mode. isolinux displays this as menu if no graphics mode can be initialized

Returns:

instance of Template

Return type:

Template

get_install_template(failsafe=True, with_theme=True, terminal=None, with_timeout=True)[source]

Bootloader configuration template for install media

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

  • with_theme (bool) – with graphics theme true|false

Returns:

instance of Template

Return type:

Template

get_message_template()[source]

Bootloader template for text message file. isolinux displays this as menu if no graphics mode can be initialized

Returns:

instance of Template

Return type:

Template

get_multiboot_install_template(failsafe=True, with_theme=True, terminal=None, with_timeout=True)[source]

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

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

  • with_theme (bool) – with graphics theme true|false

Returns:

instance of Template

Return type:

Template

get_multiboot_template(failsafe=True, with_theme=True, terminal=None, checkiso=False)[source]

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

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

  • with_theme (bool) – with graphics theme true|false

Returns:

instance of Template

Return type:

Template

get_template(failsafe=True, with_theme=True, terminal=None, checkiso=False)[source]

Bootloader configuration template for live media

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

  • with_theme (bool) – with graphics theme true|false

Returns:

instance of Template

Return type:

Template

Module Contents