HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/cloudinit/config/__pycache__/cc_ubuntu_autoinstall.cpython-312.pyc
�

x[h�
��UdZddlZddlZddlmZmZddlmZddlm	Z	ddl
mZddlm
Z
eje�Zdd	ge
d
gd�Zeed<d
Zdede	dededdf
d�Zy)z;Autoinstall: Support ubuntu live-server autoinstall syntax.�N)�subp�util)�Cloud)�Config)�
MetaSchema)�PER_ONCE�cc_ubuntu_autoinstall�ubuntu�autoinstall)�id�distros�	frequency�activate_by_schema_keys�meta)�	subiquityzubuntu-desktop-installer�name�cfg�cloud�args�returnc�2�tj|�tjddg�\}}d}tD]}t	j
||�s�|}�|s*tjddjt��ytjd|�y)N�snap�listzaSkipping autoinstall module. Expected one of the Ubuntu installer snap packages to be present: %sz, z8Valid autoinstall schema. Config will be processed by %s)
r�wait_for_snap_seededr�LIVE_INSTALLER_SNAPS�re�search�LOG�warning�join�debug)rrrr�	snap_list�_�installer_present�	snap_names        �H/usr/lib/python3/dist-packages/cloudinit/config/cc_ubuntu_autoinstall.py�handler's������e�$��9�9�f�f�-�.�L�I�q���)�*�	�
�9�9�Y�	�*� )��*�����
9��I�I�*�+�	
�
	��I�I�B���)�__doc__�loggingr�	cloudinitrr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.settingsr�	getLogger�__name__rr�__annotations__r�strrr'�r(r&�<module>r5s���B��	� �!�#�.�'��g����!��"��z�� -��	��j��A�����6��%��t���r(