403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/cloudinit/distros/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/cloudinit/distros/__pycache__/azurelinux.cpython-38.pyc
U

Ӈge	�@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)NZ
azurelinuxz/etc/systemd/network/z/etc/locale.confz/etc/systemd/resolved.confZ	systemctl�netplan)Zresolv_conf_fn�network_conf_dir�True)Znetplan_pathZnetplan_headerZpostcmds)Znetworkdr)�super�__init__ZosfamilyrZsystemd_locale_conf_fnZresolve_conf_fnZinit_cmdrZnetwork_conf_fn�NETWORK_FILE_HEADERZrenderer_configs)�self�nameZcfg�paths��	__class__��>/usr/lib/python3/dist-packages/cloudinit/distros/azurelinux.pyrs
���zDistro.__init__NcCs�|dkrg}t�d�r(t�d�dg}nt�d�dg}|�d�|r\t|t�r\|�|�n|rtt|t�rt|�|�|�|�t	�
d|�}|�|�tj|dd�dS)	NZdnfz Using DNF for package managementz!Using TDNF for package managementZtdnfz-yz%s-%sF)Zcapture)rZwhich�LOG�debug�append�
isinstance�str�list�extendrZexpand_package_list)r
Zcommand�argsZpkgs�cmdZpkglistrrr�package_command1s 






zDistro.package_command)NN)�__name__�
__module__�__qualname__Zusr_lib_execrr�
__classcell__rrrrrsr)
ZloggingZ	cloudinitrrZcloudinit.distrosrZcloudinit.net.netplanrZ	getLoggerrrrrrrrr�<module>s
	

Youez - 2016 - github.com/yon3zu
LinuXploit