HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/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(