
    x[h              
           % S r SSKrSSKrSSKJrJr  SSKJr  SSKJ	r	  SSK
Jr  SSKJr  \R                  " \5      rSS	/\S
/S.r\\S'   SrS\S\	S\S\SS4
S jrg)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)	subiquityzubuntu-desktop-installernamecfgcloudargsreturnc                 N   [         R                  " U5        [        R                  " SS/5      u  pES n[         H"  n[        R
                  " Xt5      (       d  M   UnM$     U(       d*  [        R                  SSR                  [        5      5        g [        R                  SU5        g )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)r   r   r   r   	snap_list_installer_present	snap_names           H/usr/lib/python3/dist-packages/cloudinit/config/cc_ubuntu_autoinstall.pyhandler'      s    e$99ff-.LI)	99Y** ) * 9II*+	

 	IIB    )__doc__loggingr   	cloudinitr   r   cloudinit.cloudr   cloudinit.configr   cloudinit.config.schemar   cloudinit.settingsr   	getLogger__name__r   r   __annotations__r   strr   r'    r(   r&   <module>r5      s    B  	   ! # . '! "z -	j  A  6 % t  r(   