__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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[hK5��$�SSKrSSKrSSKJr SSKJr SSKJrJrJ	r	J
r
 SSKJrJ
r
JrJrJrJr SSKJr SSKJr SSKJr SS	KJr SS
KJr \R8"\5rSr/SQr S
S0r!"SS\	5r"Sr#Sr$S\"S\%S\&4Sjr'"SS5r(g)�N)�	signature)�
ModuleType)�Dict�List�
NamedTuple�Optional)�config�importer�	lifecycle�performance�
type_utils�util)�ALL_DISTROS)�ConfigMerger)�ReportEventStack)�FREQUENCIES)�Init�cc_)�cc_emit_upstartzcc_refresh_rmc_and_interface.py�cc_migrator�cc_rightscale_userdata�cc_ubuntu_advantage�
cc_ubuntu_proc�D�\rSrSr%\\S'\\S'\\S'\\\S'Srg)�
ModuleDetails�4�module�name�	frequency�run_args�N)	�__name__�
__module__�__qualname__�__firstlineno__r�__annotations__�strr�__static_attributes__r!��:/usr/lib/python3/dist-packages/cloudinit/config/modules.pyrr4s����

�I��N��3�i�r)rc��URSS5nUR5RS5(aUS[U5S-
nUR	5nU(dgUR[5(d[<U<3nU$)N�-�_z.pyr�)�replace�lower�endswith�len�strip�
startswith�
MOD_PREFIX)r�
canon_names  r*�form_module_namer7;sv�����c�3�'�J�����"�"�5�)�)���S��_�q�%8�:�
��!�!�#�J���� � ��,�,�)�:�6�
��r)c	�B�[US5(a SUR;dSUR;a[SUSUS35eURS[;a"[SUSUSURSS35e[US	5(a[SUSUS
35eg)N�metar�distroszModule 'z
' with name 'z4' MUST have a 'meta' attribute of type 'MetaSchema'.z' has an invalid frequency �.�schemazX' has a JSON 'schema' attribute defined. Please define schema in cloud-init-schema,json.)�hasattrr9�
ValueErrorr)�modrs  r*�validate_moduler@Gs����C�� � ��c�h�h�&��C�H�H�$���s�e�=���/$�
$�
�	
��x�x���K�/���s�e�=���.I��x�x��$�%�Q�
(�
�	
��s�H�����s�e�=���/G�
G�
�	
�r)�module_details�cfg�returnc��[URRRS055nU(dgUR	UR55(dgg)N�activate_by_schema_keysTF)�	frozensetrr9�get�intersection�keys)rArB�activate_by_schema_keys_keyss   r*�
_is_activerK]sO��#,����"�"�&�&�'@�"�E�$� �(��'�4�4�S�X�X�Z�@�@��r)c��\rSrSrSS\4Sjjr\S\R4Sj5r	S\
\4SjrS\
\
4SjrS	\
\
4S
jrSSjrSrS
rg)�Modules�hN�initc�R�XlX lSUlUc[SSSS9nX0lg)Nzmodule-reporterzmodule-descF)r�description�reporting_enabled)rO�	cfg_files�_cached_cfgr�reporter)�selfrOrSrUs    r*�__init__�Modules.__init__is4���	�"��48�����'�&�)�"'��H�
!�
r)rCc�"�URcc[URRURRUR
URRS9nURUl[R"UR5$)N)�paths�
datasource�additional_fns�base_cfg)	rTrrOrZr[rSrB�copy�deepcopy)rV�mergers  r*rB�Modules.cfgvsg�����#�!��i�i�o�o��9�9�/�/�#�~�~������	�F� &�z�z�D���}�}�T�-�-�.�.r)c	��/nXR;aU$URRU5nU(dU$UGH�nU(dM
[U[5(a#UR	SUR505 ME[U[5(a0n[U5S:�aUSR5US'[U5S:�aUSR5US'[U5S:�aUSSUS'U(aUR	U5 M�M�[U[5(a}0nS	nS
U;aUS
R5US'SnSU;aUSR5US'SU;aUS=(d /US'U(aU(aUR	U5 GMeGMhGMk[S
U<S[R"U5<35e U$)aRead the modules from the config file given the specified name.

Returns a list of module definitions. E.g.,
[
    {
        "mod": "bootcmd",
        "freq": "always",
        "args": "some_arg",
    }
]

Note that in the default case, only "mod" will be set.
r?�r��freqr.N�argsFrTrzFailed to read 'z' item in config, unknown type )rBrG�
isinstancer'�appendr3�listr2�dict�	TypeErrorr
�obj_name)rVr�module_list�cfg_mods�item�contents�valids       r*�
_read_modules�Modules._read_modules�s���#%���x�x�����8�8�<�<��%������D����$��$�$��"�"��t�z�z�|���
�D�4�)�)����t�9��>�&*�1�g�m�m�o�H�U�O��t�9��>�'+�A�w�}�}��H�V�$��t�9��>�'+�A�B�x�H�V�$���&�&�x�0���D�4�)�)������T�>�&*�6�l�&8�&8�&:�H�U�O� �E��$�&�'+�K�'8�'>�'>�'@�H�V�$��T�>�'+�F�|�'9�r�H�V�$����&�&�x�0�!&�8� ��Z�0�0��6�8���C�J�r)c
��/nUGHwnUSnURS5nURS5=(d /n[U5nU(dMHU(a'U[;a[R"SUSU3SS9 SnU[
;a,[R"S	US
[
US3SS9 [
Un[R"US
[R"[5/S/5up�U(d>U[;a[RSUSS5 O[RSUU	5 GM&[R"US5n
[!X�5 UcU
R"SnUR%['U
UUUS95 GMz U$)z�Convert list of returned from _read_modules() into new format.

Invalid modules and arguments are ignored.
Also ensures that the module has the required meta fields.
r?rerfzConfig specified module z has an unknown frequency z22.1��
deprecated�deprecated_versionNzModule has been renamed from z to z/. Update any references in /etc/cloud/cloud.cfgz24.1��handlez\Module `%s` has been removed from cloud-init. It may be removed from `/etc/cloud/cloud.cfg`.r.z,Could not find module named %s (searched %s)rr)rrrr )rGr7rr�	deprecate�RENAMED_MODULESr
�find_moduler
rlr	�REMOVED_MODULES�LOG�info�warning�
import_moduler@r9rhr)rV�raw_mods�mostly_mods�raw_mod�raw_namerer �mod_name�mod_locs�looked_locsr?s           r*�_fixup_modules�Modules._fixup_modules�s������G��u�~�H��;�;�v�&�D��{�{�6�*�0�b�H�'��1�H�����K�/��#�#�2�8�*�=&�&*�V�-�(.�����?�*��#�#�7��z��*�8�4�5�6>�>�(.�
�+�8�4��$,�$8�$8��2�z�2�2�6�:�;�h�Z�%�!�H����.��H�H�I� ������K�K�F� �#��
��(�(��!��5�C��C�*��|��x�x��,�������!�"�%�	�
�e �t�r)r�c
��URR5n/n/nUGH0upVpx[RSXeU5 UR	U5 SU3n	SU	<SU<3n
[X�URS9nUURUUS.nU [UR5n
U
Rn[U5S:Xa,[R"SS	S
9 URS[05 [R "SS
S9nUR#X�RX�S9unnSSS5 W(aU	SWR$SS3UlO
SU	-UlSSS5 GM3 XC4$!,(df   NH=f!,(df   GMY=f![(a;n[*R,"[SXe5 UR	UU45 SnAGM�SnAff=f)Nz(Running module %s (%s) with frequency %szconfig-zrunning z with frequency )rrQ�parent)rrB�cloudrf�z%Config modules with a `log` parameterz23.2ru�logrx�skip)�log_mode)rez ran successfully and took z.3fz secondsz%s previously ranzRunning module %s (%s) failed)rO�cloudifyr~�debugrhrrUrBrry�
parametersr2rrz�updater�Timed�run�delta�message�	Exceptionr�logexc)rVr��cc�failures�	which_ranr?rrerf�run_name�desc�myrep�	func_args�func_signature�func_params�timer�ran�_r�es                   r*�_run_modules�Modules._run_moduless���
�Y�Y�
�
�
!�����	�%0�!�C�t�-
+��	�	�>��4��
� � ��&�$�T�F�+��9A�4�H��(�!�D�M�M���!��8�8�� �	�	��%.�s�z�z�%:�N�"0�";�";�K��;�'�1�,�!�+�+�'N�/5��"�(�(�%���6�$�*�*�2��?�5�"$�&�&�$�j�j�)�#)�#���R�@��'�j�)$�$)�K�K��#4�H�>��
�
)<�h�(F��
�)�U�-&1�^�$�$�@�?���U��,�
+����C�!@�$�L�����q�	�*�*��
+�sO�AE=�A2E*�9E�2E*�	E=�
E'�#E*�*
E:	�4E=�:E=�=
G�/F=�=Gc�X�UUUS.nU/nURU5nURU5$)N)r?rfre)r�r�)rVr�rfre�	mod_to_ber�r�s       r*�
run_single�Modules.run_single9s>�����
�	��;���)�)�(�3��� � ��-�-r)c�>�URU5nURU5nURRRn/n/nUR
R
S/5n/n/n	UH�n
U
up�p�UcM
URSn[X�R
5(dURU5 MIU(a9U[/:wa.XO;a)X�;aURU5 MxURU5 U	RX�X�/5 M� U(a%[RSSRU55 U(a&[RSSRU5U5 U(a%[RSSRU55 URU	5$)z�Runs all modules in the given section.

section_name - One of the modules lists as defined in
  /etc/cloud/cloud.cfg. One of:
 - cloud_init_modules
 - cloud_config_modules
 - cloud_final_modules
�unverified_modulesr:z?Skipping modules '%s' because no applicable config is provided.�,zSkipping modules '%s' because they are not verified on distro '%s'.  To run anyway, add them to 'unverified_modules' in config.z running unverified_modules: '%s'z, )rrr�rO�distrorrBrGr9rKrhrr~r�joinr�)rV�section_namer�r��distro_name�skipped�forced�
overridden�inapplicable_mods�active_modsrAr?r�_freq�_args�worked_distross                r*�run_section�Modules.run_sectionEsm���%�%�l�3���)�)�(�3���i�i�&�&�+�+�������X�X�\�\�"6��;�
�����)�N�(6�%�S���{�� �X�X�i�0�N��n�h�h�7�7�!�(�(��.���.�[�M�"A��4��-����t�,� ��M�M�$�'�����5�8�9�'*�*��H�H�����*�+�
�
��H�H�2�����!��
���H�H�7����6�9J�K�� � ��-�-r))rTrSrOrU)NN)r"r#r$r%rrW�propertyr	�ConfigrBrrrrrr�r�r�r�r(r!r)r*rMrMhsn��!�T�!��/�V�]�]�/��/�9�T�$�Z�9�vA�$�}�*=�A�F5%��]�(;�5%�n
.�8.r)rM))r^�logging�inspectr�typesr�typingrrrr�	cloudinitr	r
rrr
r�cloudinit.distrosr�cloudinit.helpersr�cloudinit.reporting.eventsr�cloudinit.settingsr�cloudinit.stagesr�	getLoggerr"r~r5r}r{rr7r@rj�boolrKrMr!r)r*�<module>r�s�������3�3���*�*�7�*�!�
����!���
�
���?���
�J��	�
�,�}��4��D��U.�U.r)

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 208 B 0644
cc_ansible.cpython-313.pyc File 13.56 KB 0644
cc_apk_configure.cpython-313.pyc File 4.24 KB 0644
cc_apt_configure.cpython-313.pyc File 40.51 KB 0644
cc_apt_pipelining.cpython-313.pyc File 2.22 KB 0644
cc_bootcmd.cpython-313.pyc File 2.49 KB 0644
cc_byobu.cpython-313.pyc File 3.22 KB 0644
cc_ca_certs.cpython-313.pyc File 8.43 KB 0644
cc_chef.cpython-313.pyc File 13.83 KB 0644
cc_disable_ec2_metadata.cpython-313.pyc File 1.87 KB 0644
cc_disk_setup.cpython-313.pyc File 32.24 KB 0644
cc_fan.cpython-313.pyc File 2.97 KB 0644
cc_final_message.cpython-313.pyc File 3.59 KB 0644
cc_growpart.cpython-313.pyc File 23.64 KB 0644
cc_grub_dpkg.cpython-313.pyc File 5.97 KB 0644
cc_install_hotplug.cpython-313.pyc File 4.07 KB 0644
cc_keyboard.cpython-313.pyc File 1.86 KB 0644
cc_keys_to_console.cpython-313.pyc File 2.88 KB 0644
cc_landscape.cpython-313.pyc File 3.69 KB 0644
cc_locale.cpython-313.pyc File 1.57 KB 0644
cc_lxd.cpython-313.pyc File 15.8 KB 0644
cc_mcollective.cpython-313.pyc File 3.75 KB 0644
cc_mounts.cpython-313.pyc File 22.29 KB 0644
cc_ntp.cpython-313.pyc File 16.82 KB 0644
cc_package_update_upgrade_install.cpython-313.pyc File 5.19 KB 0644
cc_phone_home.cpython-313.pyc File 3.93 KB 0644
cc_power_state_change.cpython-313.pyc File 8.38 KB 0644
cc_puppet.cpython-313.pyc File 10.86 KB 0644
cc_reset_rmc.cpython-313.pyc File 5.26 KB 0644
cc_resizefs.cpython-313.pyc File 11.22 KB 0644
cc_resolv_conf.cpython-313.pyc File 3.49 KB 0644
cc_rh_subscription.cpython-313.pyc File 18.68 KB 0644
cc_rsyslog.cpython-313.pyc File 13.95 KB 0644
cc_runcmd.cpython-313.pyc File 1.77 KB 0644
cc_salt_minion.cpython-313.pyc File 4.9 KB 0644
cc_scripts_per_boot.cpython-313.pyc File 1.5 KB 0644
cc_scripts_per_instance.cpython-313.pyc File 1.51 KB 0644
cc_scripts_per_once.cpython-313.pyc File 1.49 KB 0644
cc_scripts_user.cpython-313.pyc File 1.47 KB 0644
cc_scripts_vendor.cpython-313.pyc File 1.63 KB 0644
cc_seed_random.cpython-313.pyc File 3.92 KB 0644
cc_set_hostname.cpython-313.pyc File 3.85 KB 0644
cc_set_passwords.cpython-313.pyc File 10.9 KB 0644
cc_snap.cpython-313.pyc File 4.79 KB 0644
cc_spacewalk.cpython-313.pyc File 3.37 KB 0644
cc_ssh.cpython-313.pyc File 11.57 KB 0644
cc_ssh_authkey_fingerprints.cpython-313.pyc File 5.25 KB 0644
cc_ssh_import_id.cpython-313.pyc File 5.2 KB 0644
cc_timezone.cpython-313.pyc File 1.35 KB 0644
cc_ubuntu_autoinstall.cpython-313.pyc File 1.81 KB 0644
cc_ubuntu_drivers.cpython-313.pyc File 5.34 KB 0644
cc_ubuntu_pro.cpython-313.pyc File 15.12 KB 0644
cc_update_etc_hosts.cpython-313.pyc File 2.77 KB 0644
cc_update_hostname.cpython-313.pyc File 2.49 KB 0644
cc_users_groups.cpython-313.pyc File 3.1 KB 0644
cc_wireguard.cpython-313.pyc File 9.03 KB 0644
cc_write_files.cpython-313.pyc File 6.27 KB 0644
cc_write_files_deferred.cpython-313.pyc File 1.82 KB 0644
cc_yum_add_repo.cpython-313.pyc File 5.27 KB 0644
cc_zypper_add_repo.cpython-313.pyc File 6.28 KB 0644
modules.cpython-313.pyc File 13.12 KB 0644
schema.cpython-313.pyc File 54.5 KB 0644
Filemanager