403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/cloudinit/distros/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/cloudinit/distros/__pycache__/azurelinux.cpython-39.pyc
a

'�Dge	�@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.9/site-packages/cloudinit/distros/azurelinux.pyrs
���zDistro.__init__NcCs�|dur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)r�which�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