관리-도구
편집 파일: solo.cpython-311.opt-1.pyc
� �EBg8 � � � d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z m Z d dlmZm Z mZ d dlmZ d dlmZmZmZmZmZmZ d d lmZmZmZ d Z ed ej � � � d�� � d � � � Z ed� � d� � � ZdS )� )� cledition)�task)�enable_accelerate_wp_free)�trigger_manage_clplus)�remove_cl_edition_file�update_cl_edition_file)�apply_workaround_lve_failed�disable_lve_services�unload_lve_module)�initialize_linksafe)�STATE_INSTALLED� STATE_REMOVED� erase_package�get_package_state�install_package�set_package_state)� STATE_RUNNING� STATE_STOPPED�set_service_state)�mod_hostinglimitszea-apache24-mod_hostinglimitszhttpd24-mod_hostinglimitszgovernor-mysqlz*Initial provisioning during transition of z into CloudLinux OS Soloc � � dS )z� Triggered before jwt token change in rhn-client-tools but already after successful registration with new edition. Designed to safely terminate things that should not be running as part of current edition but avoid license checks. N� )�editions �py/clconfigure/spec/solo.py�preprovisionr ( s � � � � z.Configuring environment for CloudLinux OS Soloc �4 � t � � t d� � t D ]}t t |� � �t t d� � t � � t � � t � � t dd�� � t d� � t k r;t dd�� � t t d� � t t d� � t � � t � � t! � � t# � � dS )zp Converts "normal" CloudLinux into CL Solo by disabling some services and installing some packages. zcloudlinux-admin-metazcloudlinux-solo-metaz lve-utilsT)� reinstall�cagefsN)r r �CONFLICTED_PACKAGESr r r r r r r r r r r r r r r )r �conflicted_packages r � provisionr"