| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o
G%@io � @ s6 d dl m Z d dlmZmZmZ G dd� dee�ZdS )� )�glob)�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZdZdZedddd�gZd d
� Z dS )�BootzBootloader information�boot)�systemr )�grub�grub2zgrub-commonzgrub2-common�zipl�
all-imagesFzcollect lsinitrd for all images)�default�descc C s� | � g d�� | jddgdd� | jddgdd� | �dd g� | jd
d
d� | jdd
d� | �g d�� | �d�r^td�D ]}|dd � dkrIq>| jd|� �dd� | jd|� �dd� q>| � d� d S )N)z/etc/milo.confz/etc/silo.confz/boot/efi/efi/redhat/elilo.confz/etc/yaboot.confz/boot/yaboot.confz/boot�ls_bootT)�tags� recursivez/sys/firmware/�ls_sys_firmwarez/initrd.imgz/boot/initrd.img�lsinitrd)r zmokutil --sb-state�mokutil_sbstate)z
efibootmgr -vzlsinitramfs -l /initrd.imgzlsinitramfs -l /boot/initrd.imgzgrubby --default-kernelr z/boot/initr*.img*i����z kdump.imgz lsinitrd �d )�priorityzlsinitramfs -l z /sys/firmware/efi/ovmf_debug_log)�
add_copy_spec�add_dir_listing�add_cmd_output�
get_optionr )�self�image� r �9/usr/lib/python3/dist-packages/sos/report/plugins/boot.py�setup s$
��
z
Boot.setupN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr �option_listr r r r r r
s ��r N)r �sos.report.pluginsr r r r r r r r �<module> s