o id@s6ddlmZmZmZddlmZGdddeeZdS))PluginIndependentPlugin PluginOpt)globc@s4eZdZdZdZdZdZeddddgZd d Z d S) BootzBootloader informationboot)systemr)grubgrub2z grub-commonz grub2-commonzipl all-imagesFzcollect lsinitrd for all images)defaultdesccCs|gd|jddd|jddd|jddd|jdd d|gd |d rQtd D]}|d ddkr>q3|jd|dd|jd|ddq3dSdS)N)z/etc/milo.confz/etc/silo.confz/boot/efi/efi/redhat/elilo.confz/etc/yaboot.confz/boot/yaboot.confzls -lanR /bootls_boot)tagszls -lanR /sys/firmwarels_sys_firmwarelsinitrdzmokutil --sb-statemokutil_sbstate)z efibootmgr -vz"ls -l /initrd.img /boot/initrd.imgzlsinitramfs -l /initrd.imgzlsinitramfs -l /boot/initrd.imgr z/boot/initr*.img*iz kdump.imgz lsinitrd %sd)priorityzlsinitramfs -l %s) add_copy_specadd_cmd_output get_optionr)selfimager9/usr/lib/python3/dist-packages/sos/report/plugins/boot.pysetups$   z Boot.setupN) __name__ __module__ __qualname__ short_desc plugin_nameprofilespackagesr option_listrrrrrr s rN)sos.report.pluginsrrrrrrrrrs