Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/policies/distros/__pycache__/ |
Upload File : |
o ���b� � @ s8 d dl mZmZ d dlmZ dd� ZG dd� de�ZdS )� )� CosPlugin�IndependentPlugin)�LinuxPolicyc C s | � � p| �� �d�S )aH Test whether line is empty of contains a comment. Test whether the ``line`` argument is either blank, or a whole-line comment. :param line: the line of text to be checked. :returns: ``True`` if the line is blank or a comment, and ``False`` otherwise. :rtype: bool �#)�strip�lstrip� startswith)�line� r �:/usr/lib/python3/dist-packages/sos/policies/distros/cos.py�_blank_or_comment s r c @ s4 e Zd ZdZdZdgZeegZdZ e d dd��ZdS ) � CosPolicyzContainer-Optimized OSzGoogle Cloud Platform)zDistribution Websitez0https://cloud.google.com/container-optimized-os/z</usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin� c C sx |r| j |v S z(tdd��}tdd� |D ��}|d dkW d � W S 1 s(w Y W d S ttfy; Y dS w )Nz/etc/os-release�rc s s&