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 :  /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 : /usr/lib/python3/dist-packages/cloudinit/__pycache__/cloud.cpython-310.pyc
o

m[h��@stddlZddlZddlZddlmZddlmZddlmZm	Z	ddl
mZddlm
Z
e�e�ZGdd�d�ZdS)	�N)�Optional)�Distro)�Paths�Runners)�events)�
DataSourcec@s�eZdZ	d&dedededededee	j
fdd	�Zed
d��Z
d'd
d�Zdd�Zd(dd�Zdd�Zedd��Zdd�Zdd�Zd)dd�Zdd�Zd&d d!�Zd&d"d#�Zd&d$d%�ZdS)*�CloudN�
datasource�paths�cfg�distro�runners�reportercCs@||_||_||_||_||_|durtjdddd�}||_dS)Nzunnamed-cloud-reporterF)�name�description�reporting_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�rrrrr6sz	Cloud.cfgFcCs|j�|||||�Sr)r�run)rr�functor�args�freq�
clear_on_failrrrr;sz	Cloud.runcCs6|jj|}tj�|�st�dtj�|�|�dS|S)Nz-No template found in %s for template named %s)r
�template_tpl�os�path�isfile�LOG�warning�dirname)rr�fnrrr�get_template_filename>s
�zCloud.get_template_filenameTcC�|j�|�Sr)r	�get_userdata)r�apply_filterrrrr,J�zCloud.get_userdatacC�
|j��Sr)r	�get_instance_idrrrrr0M�
zCloud.get_instance_idcCs|jjSr)r	�launch_indexrrrrr2PszCloud.launch_indexcCr/r)r	�get_public_ssh_keysrrrrr3Tr1zCloud.get_public_ssh_keyscCr/r)r	�
get_localerrrrr4Wr1zCloud.get_localecCs|jj||d�S)N)�fqdn�
metadata_only)r	�get_hostname)rr5r6rrrr7Zs�zCloud.get_hostnamecCr+r)r	�device_name_to_device�rrrrrr8_r.zCloud.device_name_to_devicecCr+r)r
�
get_ipath_curr9rrrr:br.zCloud.get_ipath_curcCr+r)r
�	get_cpathr9rrrr;er.zCloud.get_cpathcCr+r)r
�	get_ipathr9rrrr<hr.zCloud.get_ipathr)NF)T)FF)�__name__�
__module__�__qualname__rr�dictrrrrrr�propertyrrr*r,r0r2r3r4r7r8r:r;r<rrrrrs<������
�






r)r�loggingr#�typingr�cloudinit.distrosr�cloudinit.helpersrr�cloudinit.reportingr�cloudinit.sourcesr�	getLoggerr=r&rrrrr�<module>s


Anon7 - 2022
AnonSec Team