U
    -Ø_gÜ  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚIndependentPluginc                   @   s,   e Zd ZdZdZdZdZdd„ Zdd„ Zd	S )
ÚGrubzGRUB bootloaderÚgrub)Zboot)r   c                 C   s   |   dddddg¡ d S )Nz/boot/efi/EFI/*/grub.confz/boot/grub/grub.confz/boot/grub/device.mapz/etc/grub.confz/etc/grub.d)Zadd_copy_spec©Úself© r   ú9/usr/lib/python3/dist-packages/sos/report/plugins/grub.pyÚsetup   s    ûz
Grub.setupc                 C   s   |   ddd¡ d S )Nz.*\/grub.confz(password\s*)(--md5\s*|\s*)(.*)z\1\2********)Zdo_path_regex_subr   r   r   r	   Úpostproc   s
    ýzGrub.postprocN)	Ú__name__Ú
__module__Ú__qualname__Z
short_descZplugin_nameZprofilesZpackagesr
   r   r   r   r   r	   r      s   	r   N)Zsos.report.pluginsr   r   r   r   r   r   r	   Ú<module>	   s   