File: //lib/python3/dist-packages/sos/policies/distros/__pycache__/azure.cpython-38.pyc
U
i��d� � @ s, d dl mZmZ d dlZG dd� de�ZdS )� )�RedHatPolicy�
OS_RELEASENc s: e Zd ZdZdZdgZd� fdd� Zedd d
��Z� Z S )
�AzurePolicyzAzure LinuxZ Microsoft)zDistribution Websitez(https://github.com/microsoft/CBL-MarinerNTc s t t| �j||||d� d S )N)�sysroot�init�
probe_runtime�remote_exec)�superr �__init__)�selfr r r r �� __class__� �</usr/lib/python3/dist-packages/sos/policies/distros/azure.pyr
s �zAzurePolicy.__init__� c C sd |r| j |kS tj�t�sdS ttd��2}|D ]&}|�d�r.d|kr. W 5 Q R � dS q.W 5 Q R X dS )NF�r�NAMEzCommon Base Linux MarinerT)�distro�os�path�existsr �open�
startswith)�clsZremote�f�liner r r �check s
zAzurePolicy.check)NNTN)r )
�__name__�
__module__�__qualname__r ZvendorZvendor_urlsr
�classmethodr �
__classcell__r r r r r s � �r )Zsos.policies.distros.redhatr r r r r r r r �<module> s