PHP WebShell

Текущая директория: /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__

Просмотр файла: dellrac.cpython-310.pyc

o

-�_g��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@sDeZdZdZdZdZdZedddd�gZd	Z	d
Z
dd�Zd
d�ZdS)�DellRACz,Dell Remote Access Controller Administration�dellrac)�system�storage�hardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�default�descz /opt/dell/srvadmin/bin/idracadm7�	idracadm7cCsJdD]}|j|j�d|��|j�d|��d�q|�d�r#|��dSdS)N)�	getniccfg�
getsysinfo� �_)�suggest_filenamer
)�add_cmd_output�racadm�prefix�
get_option�do_debug)�self�subcmd�r�</usr/lib/python3/dist-packages/sos/report/plugins/dellrac.py�setups�
�z
DellRAC.setupcCs^z|��}Wnty|jdd�}Ynwd}|j|j�d|�d�||j�d|��d�dS)	z�
        Ensure the sos_commands/dellrac directory does exist in either case
        as we will need to run the command at that dir, and also ensure
        logpath is properly populated in either case as well.
        F)�makezsupportassist collect -frz support.zipr)�runatrN)�get_cmd_output_path�FileExistsErrorrrr)r�logpathrrrrr$s�
�zDellRAC.do_debugN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listrrrrrrrrrs�	rN)�sos.report.pluginsrrrrrrrr�<module>s

Выполнить команду


Для локальной разработки. Не используйте в интернете!