Current Dir: /snap/core22/2955/usr/lib/python3/dist-packages/cloudinit/distros/__pycache__/

[FILE] almalinux.cpython-310.pyc [ edit | delete | rename ]
[FILE] alpine.cpython-310.pyc [ edit | delete | rename ]
[FILE] amazon.cpython-310.pyc [ edit | delete | rename ]
[FILE] aosc.cpython-310.pyc [ edit | delete | rename ]
[FILE] arch.cpython-310.pyc [ edit | delete | rename ]
[FILE] azurelinux.cpython-310.pyc [ edit | delete | rename ]
[FILE] bsd.cpython-310.pyc [ edit | delete | rename ]
[FILE] bsd_utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] centos.cpython-310.pyc [ edit | delete | rename ]
[FILE] cloudlinux.cpython-310.pyc [ edit | delete | rename ]
[FILE] cos.cpython-310.pyc [ edit | delete | rename ]
[FILE] debian.cpython-310.pyc [ edit | delete | rename ]
[FILE] dragonflybsd.cpython-310.pyc [ edit | delete | rename ]
[FILE] eurolinux.cpython-310.pyc [ edit | delete | rename ]
[FILE] fedora.cpython-310.pyc [ edit | delete | rename ]
[FILE] freebsd.cpython-310.pyc [ edit | delete | rename ]
[FILE] gentoo.cpython-310.pyc [ edit | delete | rename ]
[FILE] mariner.cpython-310.pyc [ edit | delete | rename ]
[FILE] miraclelinux.cpython-310.pyc [ edit | delete | rename ]
[FILE] netbsd.cpython-310.pyc [ edit | delete | rename ]
[FILE] networking.cpython-310.pyc [ edit | delete | rename ]
[FILE] openbsd.cpython-310.pyc [ edit | delete | rename ]
[FILE] OpenCloudOS.cpython-310.pyc [ edit | delete | rename ]
[FILE] openeuler.cpython-310.pyc [ edit | delete | rename ]
[FILE] openmandriva.cpython-310.pyc [ edit | delete | rename ]
[FILE] opensuse-leap.cpython-310.pyc [ edit | delete | rename ]
[FILE] opensuse-microos.cpython-310.pyc [ edit | delete | rename ]
[FILE] opensuse-tumbleweed.cpython-310.pyc [ edit | delete | rename ]
[FILE] opensuse.cpython-310.pyc [ edit | delete | rename ]
[FILE] photon.cpython-310.pyc [ edit | delete | rename ]
[FILE] raspberry_pi_os.cpython-310.pyc [ edit | delete | rename ]
[FILE] rhel.cpython-310.pyc [ edit | delete | rename ]
[FILE] rhel_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] rocky.cpython-310.pyc [ edit | delete | rename ]
[FILE] sle-micro.cpython-310.pyc [ edit | delete | rename ]
[FILE] sles.cpython-310.pyc [ edit | delete | rename ]
[FILE] sle_hpc.cpython-310.pyc [ edit | delete | rename ]
[FILE] suse.cpython-310.pyc [ edit | delete | rename ]
[FILE] TencentOS.cpython-310.pyc [ edit | delete | rename ]
[FILE] ubuntu.cpython-310.pyc [ edit | delete | rename ]
[FILE] ug_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] virtuozzo.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]

Viewing: /snap/core22/2955/usr/lib/python3/dist-packages/cloudinit/distros/__pycache__/azurelinux.cpython-310.pyc

o

��ie	�@sTddlZddlmZmZddlmZddlmZe�e	�Z
dZGdd�dej�ZdS)�N)�subp�util)�rhel)�CLOUDINIT_NETPLAN_FILEa7# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
cs*eZdZdZ�fdd�Zddd�Z�ZS)�Distroz/usr/libcsbt��|||�d|_d|_d|_d|_dg|_dti|_|j|jd�|jdt	dd	�d
�|_
dS)N�
azurelinuxz/etc/systemd/network/z/etc/locale.confz/etc/systemd/resolved.conf�	systemctl�netplan)�resolv_conf_fn�network_conf_dir�True)�netplan_path�netplan_header�postcmds)�networkdr	)�super�__init__�osfamilyr�systemd_locale_conf_fn�resolve_conf_fn�init_cmdr�network_conf_fn�NETWORK_FILE_HEADER�renderer_configs)�self�name�cfg�paths��	__class__��>/usr/lib/python3/dist-packages/cloudinit/distros/azurelinux.pyrs
���zDistro.__init__NcCs�|durg}t�d�rt�d�dg}nt�d�dg}|�d�|r.t|t�r.|�|�n|r:t|t�r:|�|�|�|�t	�
d|�}|�|�tj|dd�dS)	N�dnfz Using DNF for package managementz!Using TDNF for package management�tdnfz-yz%s-%sF)�capture)r�which�LOG�debug�append�
isinstance�str�list�extendr�expand_package_list)r�command�args�pkgs�cmd�pkglistr r r!�package_command1s 






zDistro.package_command)NN)�__name__�
__module__�__qualname__�usr_lib_execrr3�
__classcell__r r rr!rsr)
�logging�	cloudinitrr�cloudinit.distrosr�cloudinit.net.netplanr�	getLoggerr4r&rrr r r r!�<module>s
	
Upload File: