pyanaconda.modules.storage.bootloader.bootloader_interface ========================================================== .. py:module:: pyanaconda.modules.storage.bootloader.bootloader_interface Classes ------- .. autoapisummary:: pyanaconda.modules.storage.bootloader.bootloader_interface.BootloaderInterface Module Contents --------------- .. py:class:: BootloaderInterface Bases: :py:obj:`pyanaconda.modules.common.base.KickstartModuleInterfaceTemplate` DBus interface for the bootloader module. .. py:method:: connect_signals() Connect the signals. .. py:method:: GetDefaultType() Get the default type of the boot loader. FIXME: This is a temporary workaround for UI. :return: a name of a boot loader type .. py:property:: BootloaderMode :type: Int The mode of the bootloader. .. py:property:: PreferredLocation :type: Str Where the boot record is written. .. py:property:: Drive :type: Str The drive where the bootloader should be written. .. py:property:: DriveOrder :type: List[Str] Potentially partial order for disks. .. py:property:: KeepMBR :type: Bool Don't update the MBR. .. py:property:: KeepBootOrder :type: Bool Don't change the existing boot order. .. py:property:: ExtraArguments :type: List[Str] List of extra bootloader arguments. .. py:property:: Timeout :type: Int The bootloader timeout. .. py:property:: ZIPLSecureBoot :type: Str The ZIPL Secure Boot for s390x. .. py:property:: Password :type: Str The GRUB boot loader password. If using GRUB, set the GRUB boot loader password. This should be used to restrict access to the GRUB shell, where arbitrary kernel options can be passed. .. py:method:: SetEncryptedPassword(password) Set the GRUB boot loader password. :param password: a string with the encrypted password .. py:property:: IsPasswordSet :type: Bool Is the GRUB boot loader password set? .. py:property:: IsPasswordEncrypted :type: Bool Is the GRUB boot loader password encrypted? .. py:method:: IsEFI() Is the bootloader based on EFI? :return: True or False .. py:method:: GetArguments() Get the bootloader arguments. Get kernel parameters that are currently set up for the bootloader. The list is complete and final after the bootloader installation. :return: list of arguments .. py:method:: DetectWindows() Are Windows OS installed on the system? Guess by searching for bootable partitions of other operating systems whether there are Windows OS installed on the system. :return: True or False .. py:method:: InstallBootloaderWithTasks(payload_type, kernel_versions) Install the bootloader with a list of tasks. FIXME: This is just a temporary method. :param payload_type: a string with the payload type :param kernel_versions: a list of kernel versions :return: a list of paths to DBus tasks .. py:method:: GenerateInitramfsWithTasks(payload_type, kernel_versions) Generate initramfs with a list of tasks. FIXME: This is just a temporary method. :param payload_type: a string with the payload type :param kernel_versions: a list of kernel versions :return: a list of paths to DBus tasks .. py:method:: FixZIPLBootloaderWithTask() Fix ZIPL bootloader with a task. :return: a DBus path of a installation task