HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/cloudinit/config/__pycache__/cc_ubuntu_autoinstall.cpython-310.pyc
o

m[h��
@s�UdZddlZddlZddlmZmZddlmZddlm	Z	ddl
mZddlm
Z
e�e�Zdd	ge
d
gd�Zeed<d
Zdede	dededdf
dd�ZdS)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�returncCsZt�ddg�\}}d}tD]
}t�||�r|}q
|s%t�dd�t��dSt�d|�dS)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�LIVE_INSTALLER_SNAPS�re�search�LOG�warning�join�debug)rrrr�	snap_list�_�installer_present�	snap_name�r#�H/usr/lib/python3/dist-packages/cloudinit/config/cc_ubuntu_autoinstall.py�handles ���r%)�__doc__�loggingr�	cloudinitrr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.settingsr�	getLogger�__name__rr�__annotations__r�strrr%r#r#r#r$�<module>s 
�"