Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/pxe.cpython-312.pyc
�

-�_g���h�ddlmZmZmZmZmZGd�de�ZGd�dee�ZGd�deee�Zy)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin�	PluginOptc�0�eZdZdZdZdZeddd��gZy)	�PxezPXE service�pxe)�sysmgmt�network�tftpbootFz"collect content from tftpboot path)�default�descN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr�option_list���8/usr/lib/python3/dist-packages/sos/report/plugins/pxe.pyr	r	
s'���J��K�%�H��*�e�;�	=��Krr	c�&��eZdZdZdZ�fd�Z�xZS)�	RedHatPxe)z/usr/sbin/pxeos)zsystem-config-netboot-cmdc���t�|��|jd�|jd�|j	d�r|jd�yy)Nz/usr/sbin/pxeos -lz/etc/dhcpd.confr
z	/tftpboot)�super�setup�add_cmd_output�
add_copy_spec�
get_option��self�	__class__s �rrzRedHatPxe.setupsI���
��
�����0�1����,�-��?�?�:�&����{�+�'r)rrr�files�packagesr�
__classcell__�r$s@rrrs��� �E�-�H�,�,rrc�"��eZdZdZ�fd�Z�xZS)�	DebianPxe)z	tftpd-hpac���t�|��|jddg�|jd�r|jd�yy)Nz/etc/dhcp/dhcpd.confz/etc/default/tftpd-hpar
z/var/lib/tftpboot)rrr r!r"s �rrzDebianPxe.setup)sG���
��
�����"�$�
�	��?�?�:�&����2�3�'r)rrrr&rr'r(s@rr*r*%s����H�4�4rr*N)	�sos.report.pluginsrrrrrr	rr*rrr�<module>r-s9��9�9��&��
,��\�
,�4��\�<�4r