403Webshell
Server IP : 104.129.129.72  /  Your IP : 216.73.216.229
Web Server : LiteSpeed
System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : answe8064 ( 1002)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
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_runcmd.cpython-310.pyc
o

x[hh�
@s�UdZddlZddlZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZd	eged
gd�Ze
ed<e�e�Zd
ededededdf
dd�ZdS)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
Cs�d|vrt�d|�dStj�|�d�d�}|d}zt�|�}t�||d�WdSt	y?}z
t
|�d�||���d}~ww)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�e�r$�</usr/lib/python3/dist-packages/cloudinit/config/cc_runcmd.py�handle%s�
��r&)�__doc__�loggingr�	cloudinitr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.distrosr�cloudinit.settingsrr�__annotations__�	getLogger�__name__r�str�listr&r$r$r$r%�<module>s 	�
"

Youez - 2016 - github.com/yon3zu
LinuXploit