https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /lib/python3/dist-packages/cloudinit/config/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/cloudinit/config/__pycache__/cc_runcmd.cpython-312.pyc
�

x[hh�
��UdZddlZddlZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZd	eged
gd�Ze
ed<ej"e�Zd
ededededdf
d�Zy)zERuncmd: run arbitrary commands at rc.local with output to the console�N)�util)�Cloud)�Config)�
MetaSchema)�ALL_DISTROS)�PER_INSTANCE�	cc_runcmd�runcmd)�id�distros�	frequency�activate_by_schema_keys�meta�name�cfg�cloud�args�returnc�`�d|vrtjd|�ytjj	|jd�d�}|d}	t
j|�}t
j||d�y#t$r&}t|�dj||���d}~wwxYw)Nr
z:Skipping module named %s, no 'runcmd' key in configuration�scriptsi�z"Failed to shellify {} into file {})�LOG�debug�os�path�join�	get_ipathr�shellify�
write_file�	Exception�type�format)rrrr�out_fn�cmd�content�es        �</usr/lib/python3/dist-packages/cloudinit/config/cc_runcmd.py�handler'%s����s���	�	�H�$�	
�	�
�W�W�\�\�%�/�/�)�4�h�
?�F�

�h�-�C�P��-�-��$��������/���P��d�1�g�:�A�A�#�v�N�O�O��P�s�,A>�>	B-�!B(�(B-)�__doc__�loggingr�	cloudinitr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.distrosr�cloudinit.settingsrr�__annotations__�	getLogger�__name__r�str�listr'��r&�<module>r7s���L��	��!�#�.�)�+���}�� (�z�	��j���g����!��
P��
P�6�
P�%�
P�t�
P��
Pr6

https://t.me/RX1948 - 2025