| Server IP : 178.128.116.179 / Your IP : 216.73.216.206 Web Server : nginx/1.30.3 System : Linux glamautowash 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/landscape/lib/__pycache__/ |
Upload File : |
�
�~�e � �8 � d Z ddlZdZdZdZdddd d
�Zd� Zd
d�Zy)z Get information from os-release.� Nz$/var/lib/snapd/hostfs/etc/os-releasez/etc/os-releasez/usr/lib/os-releasezdistributor-id�description�releasez code-name)�NAME�PRETTY_NAME�
VERSION_ID�VERSION_CODENAMEc �6 � t } t j j | � r$t j | t j
� sOt } t j j | � r$t j | t j
� st } | S )a3
Provide the appropriate file for os release info.
If a snap, we want the host os so need to use
/var/lib/snapd/hostfs/etc/os-release, if not a snap
/etc/os-release will be used as first fallback or
/usr/lib/os-release as a fallback as indicated in os-release
at Freedesktop.org
)�OS_RELEASE_FILENAME�os�path�exists�access�R_OK�OS_RELEASE_FILENAME_FALLBACK)�os_filenames �:/usr/lib/python3/dist-packages/landscape/lib/os_release.py�get_os_filenamer sg � � &�K�
�7�7�>�>�+�&�b�i�i��
���/� 3���w�w�~�~�k�*�"�)�)���G�G�3
� 7�K��� c �$ � i }| �
t � } t | � 5 }|D ]Z }|j d� \ }}|t v s� t |j � }|j � j d� }|||<