HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/sos/report/plugins/__pycache__/lxd.cpython-38.pyc
U

i��d
�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPlugin�SoSPredicatec@s(eZdZdZdZdZdZdZdd�ZdS)	�LXDzLXD container hypervisor�lxd)Z	container)r)ZlxcrcCs�ddddddddd	d
ddd
dg}t||ddid�}|jj�d�}|r�|ddkr�|jd|d�|�ddddg�|�d�s�|�ddg�q�|�dg�n6|�dd g�|jd!d"d#d$d%g|d�|jd&gd'd(�dS))NZbpfilterZebtable_filterZebtablesZip6table_filterZip6table_mangleZip6table_natZip6table_rawZ
ip6_tablesZiptable_filterZiptable_mangleZiptable_natZiptable_rawZnf_natZ	nf_tables�kmods�all)rZrequiredrZpkg_managerZsnapzlxd.buginfo)Zpredz/var/snap/lxd/common/configz /var/snap/lxd/common/global-confz#/var/snap/lxd/common/lxc/local.confz&/var/snap/lxd/common/lxd/logs/*/*.confZall_logsz#/var/snap/lxd/common/lxd/logs/*.logz%/var/snap/lxd/common/lxd/logs/*/*.logz /var/snap/lxd/common/lxd/logs/**z/etc/default/lxd-bridgez/var/log/lxd/*zlxc image listzlxc listzlxc network listzlxc profile listzlxc storage listz)find /var/lib/lxd -maxdepth 2 -type d -lszvar-lxd-dirs.txt)Zsuggest_filename)rZpolicyZpackage_managerZpkg_by_nameZadd_cmd_outputZ
add_copy_specZ
get_option)�selfZ	lxd_kmodsZlxd_predZlxd_pkg�r
�8/usr/lib/python3/dist-packages/sos/report/plugins/lxd.py�setupsj���
�������z	LXD.setupN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesZcommandsrr
r
r
rrsrN)Zsos.report.pluginsrrrrr
r
r
r�<module>s