__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
�

��g�*��L�SSKJrJrJrJrJrJrJr SSKJ	r	 SSK
Jr SSKJ
r
 SSKJrJrJr SSKJr SSKJr SSKJr SS	KJr SS
KJrJr SSKJrJr \R@"5r!Sr"S
r#\
RHS5r%\
RHS5r&\"S\RN\RN\#\"\"S\RPSS9/S9/S9r)\"S\RT\RT\%\"\"S\RVRYSR[\R\5S9S9/S9/S9r/\"S\R`\R`\&\"\"S\RbRYSR[\R\5S9SS9/S9/S9r2\"S\Rf\Rh\"\Rj\)\/\2/S9r6g) �)�apt_news�config�entitlements�event_logger�
exceptions�http�messages)�_is_attached)�
AptProxyScope)�cli_util)�ProArgument�ProArgumentGroup�
ProCommand)�HelpCategory)�ApplicationStatus)�state_files)�LXDGuestAttachEnum)�configure_livepatch_proxy�unconfigure_livepatch_proxy)�configure_snap_proxy�unconfigure_snap_proxyc�<�SSKJn U"5RS5 g)Nr��
get_parserr)�uaclient.clir�print_help_for_command)�args�cfg�kwargsrs    �5/usr/lib/python3/dist-packages/uaclient/cli/config.py�
action_configr!s��'��L�'�'��1��c�2�UR(a�UR[R;aK[R"SRUR5SR
[R5S9e[SRUR[XRS5S95 g[[[RVs/sHn[U5PM sn5S-5nS	U-S
-n[RH&n[URU[XS5S95 M( UR(dUR(a=UR(dUR(a[[ R"5 gggs snf)z�Perform the 'config show' action optionally limit output to a single key

:return: 0 on success
:raise UbuntuProError: on invalid keys
z'{}'�, ��arg�choicesz
{key} {value}N��key�valuer�z{key: <z	} {value})r)r�UA_CONFIGURABLE_KEYSr�InvalidArgChoice�format�join�print�getattr�str�max�len�global_apt_http_proxy�global_apt_https_proxy�ua_apt_http_proxy�ua_apt_https_proxyr	�CLI_CONFIG_GLOBAL_XOR_UA_PROXY)rrr�x�	col_width�row_tmplr)s       r �action_config_showr=#s5���x�x��8�8�6�6�6�6��-�-��M�M�$�(�(�+��	�	�&�"=�"=�>��
�	��"�"��H�H�G�C���4�$@�
#�
�	
�
��C��)D�)D�E�)D�A��Q��)D�E�F��J�K�I��9�$�{�2�H��*�*��
�h�o�o�#�W�S�t�-D�o�E�F�+�	�!�!�S�%?�%?�����!7�!7�
�h�5�5�6�"8�&@��
Fs�Fc��SSKJn U"5nURRS5upVU[R;aCURS5 [R"SSR[R5S	9eUR5(d%URS5 [R"US
9e[[XS55[ :Xa<UR#5S;a[R"S
SS	9eUR#5S:HnUS;a�URS5SnUS:Xa[$R&nO[$R(n[$R*"XvU5 XV0n[-S#0UD6 [.R0R3U5n	U	R55up�U
[6R8:Xa[;S#0UD6 GO5XQR<;a�URS5SnUS:Xa[$R>nO[$R@n[$R*"XvU5 [!URB=(d URD5nU(a'[G[HRJRMSSS95 [NRP"U[RRTXV5 SUl!SUl"GOHUURVURX-;Ga,SU;aSOSnUS:Xa[$R>nO[$R@nXQRV;aJ[G[HRZRMSRMU5SRMU5S95 SU-n[$R*"XvU5 [!UR\=(d UR^5nU(a'[G[HRJRMSSS95 [NRP"U[RR`XV5 SUl.SUl/O�US;a-[cU5nUS:a[	SRMU55eO�US :Xa=U(a[fRh"U5 O�[jRlRo5 O�US!:Xa�[qU5Rr(d[Rt"5e[jRvRy[jRz"[|R~"UR#55S"95 [�XU5 g![a1 URS5 [R"SURS9ef=f![a1 URS5 [GS5 [Rd"XVS9ef=f)$zEPerform the 'config set' action.

@return: 0 on success, 1 otherwise
rr�=z
config setz
<key>=<value>)�expected�actual�<key>r$r%)r&N)�true�falsez<value>ztrue, falserC��
http_proxy�https_proxy�_r�zpro scoped aptz
global apt)�
current_proxy�previous_proxy�https�apt_{}_proxy�global_apt_{}_proxy��old�new�global_)�update_messaging_timer�metering_timerzInvalid interval for {}�r(r�lxd_guest_attach��guest_attach�)Arr�key_value_pair�split�
ValueErrorrr�GenericInvalidFormatrr,r-r/�strip�EmptyConfigValue�typer1�bool�lowerr�PROXY_VALIDATION_SNAP_HTTP_URL�PROXY_VALIDATION_SNAP_HTTPS_URL�validate_proxyrr�	livepatch�LivepatchEntitlement�application_statusr�ENABLEDr�ua_scoped_proxy_options�PROXY_VALIDATION_APT_HTTP_URL�PROXY_VALIDATION_APT_HTTPS_URLr5r6r0r	�WARNING_APT_PROXY_OVERWRITEr.r�configure_apt_proxyr�UACLIENT�&deprecated_global_scoped_proxy_options�global_scoped_proxy_options�WARNING_CONFIG_FIELD_RENAMEr7r8�GLOBAL�int�InvalidPosIntConfigValuer�update_apt_newsr�apt_news_contents_file�deleter
�is_attached�UnattachedError�lxd_pro_config_file�write�LXDProConfigr�
from_value�setattr)
rrrr�parser�set_key�	set_value�
protocol_type�validate_url�entitlement�livepatch_statusrH�
unset_currents
             r �action_config_setr�Bs���(�
�\�F�
�!�0�0�6�6�s�;����f�1�1�1��%�%�l�3��)�)�����6�+F�+F�!G�
�	
��?�?����%�%�l�3��)�)�g�6�6��G�C�$�'�(�D�0��?�?��$5�5��-�-��}��
��O�O�%��/�	��/�/��
�
�c�*�1�-�
��F�"��>�>�L��?�?�L����M�l�C��%���&�v�&�"�,�,�A�A�#�F��)�<�<�>����0�8�8�8�%�/��/��	�/�/�	/��
�
�c�*�1�-�
��F�"��=�=�L��>�>�L����M�l�C���%�%�C��)C�)C�
�
����4�4�;�;�"2�<�<��
�
	�$�$���'�'��	
�%)��!�%)��"�	��2�2�

�
)�
)�	*�
�$+�g�#5��6�
��F�"��=�=�L��>�>�L��@�@�@���4�4�;�;�&�-�-�m�<�-�4�4�]�C�<��
� �'�)�G����M�l�C��S�2�2�L�c�6L�6L�M�
����4�4�;�;�".�?O�<��
�
	�$�$���%�%�w�	
�!%���!%���	��
�
	��I��I��1�}� �!:�!A�!A�'�!J�K�K��
�J�	���$�$�S�)��.�.�5�5�7�	�&�	&��C� �,�,��,�,�.�.��'�'�-�-��$�$�/�:�:�9�?�?�;L�M�
�	
��C�)�$��{�
��%�%�l�3��-�-�$�T�-@�-@�
�	
�
��P�	��)�)�,�7��"�I��5�5���
�		�s�T�+U�;U�;V	c�&�SSKJn UR[R;aJU"5nURS5 [R"SSR[R5S9eURS;awURRS5Sn[US	9 [RRU5nUR5upxU[R :Xa	[#US	9 GO�URUR$;a3[&R("U[*R,URS
5 GO9URUR.UR0-;a�URUR.;awSUR;aSOSn[2R5[6R8R;S
R;U5SR;U5S95 SUR-Ul[&R("U[*R<URS
5 OOURS:Xa?[>R@RC[>RD"[FRHS95 [KXRS
5 g)zGPerform the 'config unset' action.

@return: 0 on success, 1 otherwise
rrzconfig unsetrBr$r%rErH)r�NrLrrMrNrOrRrVrW)&rrr)rr,rrr-r/r[rrrfrgrhrrirrjrrnrrorprq�event�infor	rrr.rsrr{r|r}r�OFFr)	rrrrr�r�r�r�rHs	         r �action_config_unsetr��s���(��x�x�v�2�2�2�����%�%�n�5��)�)�����6�+F�+F�!G�
�	
��x�x�0�0������s�+�A�.�
��]�;�"�,�,�A�A�#�F��)�<�<�>����0�8�8�8�'�m�D��	
���S�0�0�	0��$�$���'�'����4�	
�
����2�2�

�
)�
)�	*�
��8�8�s�A�A�A�'.�$�(�(�':�G��M��J�J��4�4�;�;�&�-�-�m�<�-�4�4�]�C�<��
�!�4�8�8�+�D�H��$�$�S�-�*>�*>����$�O�	
���'�	'��'�'�-�-��$�$�2D�2H�2H�I�	
��C���4� �r"�showr)�?)�help�nargs)�	arguments)r��description�action�argument_groups�setrZr$)�options)r��unset)r��metavarr)r�r�r��
help_category�subcommandsN)7�uaclientrrrrrrr	�(uaclient.api.u.pro.status.is_attached.v1r
�uaclient.aptrrr�uaclient.cli.commandsr
rr�uaclient.cli.parserr�(uaclient.entitlements.entitlement_statusr�uaclient.filesr�uaclient.files.user_config_filer�uaclient.livepatchrr�
uaclient.snaprr�get_event_loggerr�r!r=�assert_rootr�r��CLI_CONFIG_SHOW_DESC�CLI_CONFIG_SHOW_KEY�show_subcommand�CLI_CONFIG_SET_DESC�CLI_CONFIG_SET_KEY_VALUEr.r/r,�set_subcommand�CLI_CONFIG_UNSET_DESC�CLI_CONFIG_UNSET_KEY�unset_subcommand�CLI_ROOT_CONFIG�CLI_CONFIG_DESC�OTHER�config_commandrYr"r �<module>r�s������B�&�!�K�K�,�F�&�>��G��%�%�'��
�7�>
���G%��G%�T
���-
��-
�`�
�	�	&�	&��-�-������ <� <�C���	
���� �	�	�	%�	%��,�,����$� �9�9�@�@�$(�I�I�f�.I�.I�$J�A���	�	
�
���*��	�	'�	'��.�.����� �5�5�<�<�$(�I�I�f�.I�.I�$J�=��"��
�	
����,��	�	!�	!��(�(���$�$� �.�2B�C�
�r"

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 13.24 KB 0644
api.cpython-313.pyc File 3.1 KB 0644
attach.cpython-313.pyc File 6.81 KB 0644
auto_attach.cpython-313.pyc File 1.59 KB 0644
cli_util.cpython-313.pyc File 13.24 KB 0644
collect_logs.cpython-313.pyc File 2.04 KB 0644
commands.cpython-313.pyc File 5.83 KB 0644
config.cpython-313.pyc File 12.27 KB 0644
cve.cpython-313.pyc File 7.8 KB 0644
cves.cpython-313.pyc File 4.75 KB 0644
detach.cpython-313.pyc File 4.43 KB 0644
disable.cpython-313.pyc File 10.9 KB 0644
enable.cpython-313.pyc File 16.79 KB 0644
fix.cpython-313.pyc File 36.75 KB 0644
formatter.cpython-313.pyc File 14.01 KB 0644
help.cpython-313.pyc File 2.07 KB 0644
parser.cpython-313.pyc File 4.9 KB 0644
refresh.cpython-313.pyc File 3.75 KB 0644
security_status.cpython-313.pyc File 2.79 KB 0644
status.cpython-313.pyc File 2.95 KB 0644
system.cpython-313.pyc File 1.56 KB 0644
Filemanager