Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/cloudinit/cmd/__pycache__/ |
Upload File : |
� �f#F � �0 � d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z m Z mZ ddlm Z mZmZmZmZmZ ddlmZmZ ddlmZ ddlmZ dd lmZ dd lmZmZmZ dZ ejB G d� d ejD � � 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? d/d*ee de/de,fd+�Z@d,� ZAeBd-k( r eA� yy)0zFDefine 'status' utility and handler as part of cloud-init commandline.� N)�deepcopy)�gmtime�sleep�strftime)�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"