File: //proc/self/root/lib/python3/dist-packages/sos/report/plugins/__pycache__/pxe.cpython-38.pyc
U
i��d� � @ sV d dl mZmZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin� PluginOptc @ s( e Zd ZdZdZdZedddd�gZdS ) �PxezPXE serviceZpxe)ZsysmgmtZnetwork�tftpbootFz"collect content from tftpboot path)�defaultZdescN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr Zoption_list� r
r
�8/usr/lib/python3/dist-packages/sos/report/plugins/pxe.pyr
s ��r c s$ e Zd ZdZdZ� fdd�Z� ZS )� RedHatPxe)z/usr/sbin/pxeos)zsystem-config-netboot-cmdc s: t t| ��� | �d� | �d� | �d�r6| �d� d S )Nz/usr/sbin/pxeos -lz/etc/dhcpd.confr z /tftpboot)�superr �setupZadd_cmd_output�
add_copy_spec�
get_option��self�� __class__r
r r s
zRedHatPxe.setup)r
r r �files�packagesr �
__classcell__r
r
r r r s r c s e Zd ZdZ� fdd�Z� ZS )� DebianPxe)z tftpd-hpac s4 t t| ��� | �ddg� | �d�r0| �d� d S )Nz/etc/dhcp/dhcpd.confz/etc/default/tftpd-hpar z/var/lib/tftpboot)r r r r r r r r
r r ) s �
zDebianPxe.setup)r
r r r r r r
r
r r r % s r N) Zsos.report.pluginsr r r r r r r r r
r
r
r �<module> s