__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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����SSKrSSKJrJrJrJr SSKJr SSKJ	r	 SSK
Jr SSKJ
r
 \R"\5r"SS\R"5rS	rS
rg)�N)�distros�helpers�subp�util)�PackageList)�HostnameConf)�SysConf)�PER_INSTANCEc��\rSrSrSrS/rSrSrSrSr	Sr
S	S
SSS
S.S.0rSrSr
SSjrSrSSjrSrSrSSjrS\4SjrSS.SjrSrg) �Distro�z/etc/locale.conf�	systemctlz/etc/sysconfig/networkz/etc/systemd/resolved.confz/etc/localtimez/var/lib/NetworkManagerzdhclient-[\w-]+\.lease�	sysconfigzetc/sysconfig/networkz'%(base)s/network-scripts/ifcfg-%(name)sz'%(base)s/network-scripts/route-%(name)sz(%(base)s/network-scripts/route6-%(name)s)�ipv4�ipv6)�control�iface_templates�route_templatesFc��[RRXX#5 [R"U5UlSUlSUlSUS'g)N�aosczen_US.UTF-8�sshd�ssh_svcname)rr�__init__r�Runners�_runner�osfamily�default_locale)�self�name�cfg�pathss    �8/usr/lib/python3/dist-packages/cloudinit/distros/aosc.pyr�Distro.__init__(s?��������C�7����u�-�����
�+���#��M��Nc�H�U(dURnSU0n[X#5 g)N�LANG)�systemd_locale_conf_fn�update_locale_conf)r�locale�out_fn�
locale_cfgs    r"�apply_locale�Distro.apply_locale/s&����0�0�F��F�
�
�	�6�.r$c��URS5(a=[S5nURU5 [R"U[U5S5 [R"URSS5nU(a#[R"SS[U5/5 g[R"SSS[U5/5 [RS	5 g)
N�/previous-hostname���create_hostname_fileT�hostnamectlzset-hostnamez--transientz7create_hostname_file is False; hostname set transiently)�endswithr�set_hostnamer�
write_file�str�get_cfg_option_bool�_cfgr�LOG�info)r�hostname�filename�confr2s     r"�_write_hostname�Distro._write_hostname7s������1�2�2���#�D����h�'��O�O�H�c�$�i��7�#�7�7��I�I�-�t� 
�� ��I�I�}�n�c�(�m�D�E��I�I�!�"�!���M�	�
�
�H�H�N�Or$c���URS5(a$[R"U5R5$[R"S/5up4UR5n[U5(aU$U$)Nr/r<)r4r�load_text_file�stripr�len)rr=�default�out�_errs     r"�_read_hostname�Distro._read_hostnameLs^�����1�2�2��&�&�x�0�6�6�8�8��i�i���-����i�i�k���s�8�8��J��Nr$c�T�URUR5nURU4$�N)rH�hostname_conf_fn)r�sys_hostnames  r"�_read_system_hostname�Distro._read_system_hostnameVs)���*�*�4�+@�+@�A���%�%�|�4�4r$c��URU5n[R"UR5 [R"X R5 grK)�
_find_tz_filer�del_file�tz_local_fn�sym_link)r�tz�tz_files   r"�set_timezone�Distro.set_timezoneZs6���$�$�R�(���
�
�d�&�&�'��
�
�g�/�/�0r$c��Uc/nS/nU(aURU5 URS5 URU5 [R"USS9 g)N�omaz-yF)�capture)�append�extendr)r�command�args�pkgs�cmds     r"�package_command�Distro.package_command_sH���<��D��g����J�J�w���
�
�4���
�
�4���	�	�#�u�%r$�pkglistc�$�URSUS9 g)N�install)r`)rb)rrds  r"�install_packages�Distro.install_packagesks�����Y�W��5r$)�forcec�X�URRSURS[S9 g)Nzupdate-sources�refresh)�freq)r�runrbr
)rris  r"�update_package_sources�Distro.update_package_sourcesns+��������� � ���		�	
r$)rrrrK)NN)�__name__�
__module__�__qualname__�__firstlineno__r'�init_cmd�network_conf_dir�resolve_conf_fnrS�dhclient_lease_directory�dhclient_lease_file_regex�renderer_configs�prefer_fqdnrr,r?rHrNrWrbrrgrn�__static_attributes__�r$r"rrs���/���}�H�/��2�O�"�K�8�� 9��	�.�H�A�B� �
�	���K�$�/�P�*�5�1�

&�6��6�/4�
�
r$rc��Sn[R"U5R5nSnU[	U54$![a /nNf=f)NFT)rrB�
splitlines�IOErrorr	)�sys_path�exists�contentss   r"�read_locale_confr�wsR��
�F���&�&�x�0�;�;�=����
�G�H�%�&�&�������s�&7�A�Ac�|�U(dg[U5up#SnUR5H'upVUcM
[U5nU(dMXcU'US-
nM) U(ac[U5/nU(d%URS[R
"55 [R"USRU5S-S5 gg)Nr��
r1)r��itemsr7�insertr�make_headerr6�join)r�r+r�r��
updated_am�k�v�liness        r"r(r(�s�����)�(�3��V��J�� � �"����9����F��������a��
�#����M�
����L�L��D�,�,�.�/�����$�)�)�E�"2�T�"9�5�A�
r$)�logging�	cloudinitrrrr�cloudinit.distrosr�"cloudinit.distros.parsers.hostnamer�"cloudinit.distros.parsers.sys_confr	�cloudinit.settingsr
�	getLoggerrpr:rr�r(r|r$r"�<module>r�sJ���2�2�)�;�6�+�
����!��c
�W�^�^�c
�L'�Br$

Filemanager

Name Type Size Permission Actions
OpenCloudOS.cpython-313.pyc File 771 B 0644
TencentOS.cpython-313.pyc File 769 B 0644
__init__.cpython-313.pyc File 67.79 KB 0644
almalinux.cpython-313.pyc File 466 B 0644
alpine.cpython-313.pyc File 23.96 KB 0644
amazon.cpython-313.pyc File 753 B 0644
aosc.cpython-313.pyc File 6.55 KB 0644
arch.cpython-313.pyc File 6.42 KB 0644
azurelinux.cpython-313.pyc File 2.99 KB 0644
bsd.cpython-313.pyc File 9.11 KB 0644
bsd_utils.cpython-313.pyc File 1.91 KB 0644
centos.cpython-313.pyc File 463 B 0644
cloudlinux.cpython-313.pyc File 467 B 0644
cos.cpython-313.pyc File 462 B 0644
debian.cpython-313.pyc File 11.51 KB 0644
dragonflybsd.cpython-313.pyc File 566 B 0644
eurolinux.cpython-313.pyc File 466 B 0644
fedora.cpython-313.pyc File 463 B 0644
freebsd.cpython-313.pyc File 10.38 KB 0644
gentoo.cpython-313.pyc File 5.91 KB 0644
mariner.cpython-313.pyc File 2.01 KB 0644
miraclelinux.cpython-313.pyc File 469 B 0644
netbsd.cpython-313.pyc File 7.05 KB 0644
networking.cpython-313.pyc File 16.54 KB 0644
openbsd.cpython-313.pyc File 3.25 KB 0644
openeuler.cpython-313.pyc File 767 B 0644
openmandriva.cpython-313.pyc File 471 B 0644
opensuse-leap.cpython-313.pyc File 474 B 0644
opensuse-microos.cpython-313.pyc File 477 B 0644
opensuse-tumbleweed.cpython-313.pyc File 480 B 0644
opensuse.cpython-313.pyc File 10.61 KB 0644
photon.cpython-313.pyc File 6.95 KB 0644
rhel.cpython-313.pyc File 8.36 KB 0644
rhel_util.cpython-313.pyc File 1.57 KB 0644
rocky.cpython-313.pyc File 462 B 0644
sle-micro.cpython-313.pyc File 470 B 0644
sle_hpc.cpython-313.pyc File 468 B 0644
sles.cpython-313.pyc File 465 B 0644
suse.cpython-313.pyc File 463 B 0644
ubuntu.cpython-313.pyc File 3.22 KB 0644
ug_util.cpython-313.pyc File 7.93 KB 0644
virtuozzo.cpython-313.pyc File 466 B 0644
Filemanager