| Server IP : 159.69.118.108 / Your IP : 216.73.216.231 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-4gb-fsn1-1 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 13:53:54 UTC 2025 aarch64 User : root ( 0) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/cloudinit/cmd/__pycache__/ |
Upload File : |
�
��i`F � �8 � d Z ddlZddlZddlZddlZddlZddlmZ ddlmZm Z ddl
mZ ddlm
Z
mZmZmZmZmZ ddlmZmZ ddlmZ dd lmZ dd
lmZ ddlmZmZmZ dZ ejB G d
� dejD � � Z#ejB G d� dejD � � Z$ejB G d� dejD � � Z% e&e%jN e%jP e%jR e%jT g� Z+ G d� de� Z,dZ-dee. de/de.fd�Z0d/d�Z1de#de$dee.e.f fd�Z2de,fd�Z3de4fd �Z5de/fd!�Z6dee%e.f fd"�Z7de/fd#�Z8de/de/fd$�Z9de/fd%�Z:de#fd&�Z;de.fd'�Z<d(� Z=d)� Z>deeef fd*�Z? d0d+ee de/de,fd,�Z@d-� ZAeBd.k( r eA� yy)1zGDefine 'status' utility and handler as part of cloud-init command line.� N)�deepcopy)�datetime�timezone)�sleep)�Any�Dict�List�
NamedTuple�Optional�Tuple)�safeyaml�subp)�read_cfg_paths)�uses_systemd)�Paths)�get_cmdline� load_json�load_text_filez/etc/cloud/cloud-init.disabledc � � e Zd ZdZdZdZdZdZy)�
RunningStatusz=Enum representing user-visible cloud-init application status.znot started�running�done�disabledN)�__name__�
__module__�__qualname__�__doc__�NOT_STARTED�RUNNING�DONE�DISABLED� � �6/usr/lib/python3/dist-packages/cloudinit/cmd/status.pyr r s � �G��K��G��D��Hr# r c � � e Zd ZdZdZdZdZy)�ConditionStatusz;Enum representing user-visible cloud-init condition status.�error�degraded�healthyN)r r r r �ERROR�DEGRADED�PEACHYr"