%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/containers_common.cpython-312.pyc

�

i��dw
��>�ddlmZmZmZmZddlZGd�deee�Zy)�)�Plugin�RedHatPlugin�UbuntuPlugin�	PluginOptNc�<�eZdZdZdZdZdZedded��gZ	d	�Z
y
)�ContainersCommonz;Common container configs under {/etc,/usr/share}/containers�containers_common)�	container)zcontainers-common�
rootlessusers�z,colon-delimited list of users to collect for)�default�val_type�descc
���|jgd��|jddi�|jd�}g}|r!|jd�D�cgc]}|s�|��	}}gd�}|D]q}|jdtj
j
d|z�z�|jd	|z�|j|D�cgc]
}d
|�d|����c}d�
��sycc}wcc}w)N)z/etc/containers/*z/usr/share/containers/*z/etc/subuidz/etc/subgidz/etc/containers/policy.json�containers_policyr�:)zpodman infoz%podman unshare cat /proc/self/uid_mapz%podman unshare cat /proc/self/gid_mapz
podman imageszpodman images --digestsz
podman pod pszpodman port --allz	podman pszpodman ps -azpodman stats --no-stream --allzpodman versionzpodman volume lszbuildah infoz&buildah unshare cat /proc/self/uid_mapz&buildah unshare cat /proc/self/gid_mapzbuildah containerszbuildah containers --allzbuildah imageszbuildah images --allzbuildah versionz%s/.config/containers/z~%szloginctl user-status %szmachinectl -q shell z@ /usr/bin/T)�
foreground)�
add_copy_spec�
add_file_tags�
get_option�split�os�path�
expanduser�add_cmd_output)�self�	users_opt�
users_list�x�user_subcmds�user�cmds       �F/usr/lib/python3/dist-packages/sos/report/plugins/containers_common.py�setupzContainersCommon.setups������
�	�	
���)�+>�
�	��O�O�O�4�	��
��%.�_�_�S�%9�?��Q�!�?�J�?�
��,�
	 �D����(�B�G�G�,>�,>�u�t�|�,L�M�
O�
��� 9�D� @�A����'�!��:>�s�C�!��
 �
 �
	 ��1@��>!s�C�C�=C
N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�str�option_listr$��r#rrs4��N�J�%�K��H�&�H��/�2��E�	G��K�
1 r/r)�sos.report.pluginsrrrrrrr.r/r#�<module>r1s!��M�L�	�< �v�|�\�< r/

Zerion Mini Shell 1.0