HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/ubuntu.cpython-310.pyc
o

���b]�@s2ddlmZmZddlmZGdd�dee�ZdS)�)�Plugin�UbuntuPlugin)�
is_executablec@s eZdZdZdZdZdd�ZdS)�UbuntuzUbuntu specific information�ubuntu)�systemcCsb|�ddg�|�d�r/td�rd}nd}|�|�|�d�s(|�gd��dS|�d	�dSdS)
Nz1ubuntu-security-status --thirdparty --unavailablezhwe-support-status --verbosezubuntu-advantage-tools�uaz	ua statuszubuntu-advantage status�all_logs)z/var/log/ubuntu-advantage.logz/var/log/ubuntu-advantage.log.1z /var/log/ubuntu-advantage.log.2*z/var/log/ubuntu-advantage.log*)�add_cmd_output�is_installedr�
get_option�
add_copy_spec)�self�ua_tools_status�r�;/usr/lib/python3/dist-packages/sos/report/plugins/ubuntu.py�setups�


�zUbuntu.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesrrrrrr
s
rN)�sos.report.pluginsrr�
sos.utilitiesrrrrrr�<module>s