HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/buildah.cpython-36.pyc
3

3��dQ�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s$eZdZdZdZdZdZdd�ZdS)	�Buildahz#Buildah container and image builder�buildah�	containerc	s�dddddg}�jdd�|D���fdd	�}|d
�}|drrx2|dj�D]"}|j�d}�jd|dd�qLW|d�}|dr�x2|dj�D]"}|j�d
}�jd|dd�q�WdS)NZ
containerszcontainers --allZimageszimages --all�versioncSsg|]}d|�qS)z
buildah %s�)�.0�subrr�/usr/lib/python3.6/buildah.py�
<listcomp>sz!Buildah.setup.<locals>.<listcomp>cs.�j|�}|jd�|d<|jd�dk|d<|S)N�output�auutputZstatusr�is_wicked_pissah)Zexec_cmd�pop)ZaurdahZchowdah)�selfrr�make_chowdah!s
z#Buildah.setup.<locals>.make_chowdahzbuildah containers -nrr�zbuildah inspect -t container %s)Zsubdirzbuildah images -nzbuildah inspect -t image %s���)Zadd_cmd_output�
splitlines�split)	rZsubcmdsrZ
containahsZ	containahZgoatZpitchezZpitchahZbradyr)rr�setups&

z
Buildah.setupN)r)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZpackagesZprofilesrrrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>s