+
    ˜qgjN  ã                   ó  a € R t0 t R t^ RIt^ RIt^ RIHt ^ RIHt  ^ RItRt	^ RIHtHtHtHt ^ RIHt ^ RIHt ^ R	IHt ]P,                  ! ]4      tR
RRR.R]RR./t] ^ k RtRtRtR R ltR R ltR#   ]
 d    RtRt	 Lai ; i)z<Ubuntu Drivers: Interact with third party drivers in Ubuntu.N)ÚCloud©ÚDistroTF)ÚsubpÚ
temp_utilsÚ
type_utilsÚutil)ÚConfig)Ú
MetaSchema)ÚPER_INSTANCEÚidÚcc_ubuntu_driversÚdistrosÚubuntuÚ	frequencyÚactivate_by_schema_keysÚdriverszDubuntu-drivers: error: argument <command>: invalid choice: 'install'zÉTemplate: linux/nvidia/latelink
Type: boolean
Default: true
Description: Late-link NVIDIA kernel modules?
 Enable this to link the NVIDIA kernel modules in cloud-init and
 make them available for use.
ÚX_LOADTEMPLATEFILEc                ó$   € V ^8„  d   QhR\         /# )é   Údistror   )Úformats   "ÚD/usr/lib/python3/dist-packages/cloudinit/config/cc_ubuntu_drivers.pyÚ__annotate__r   9   s   € ÷ =ñ =´6ñ =ó    c                 ó$  € \        V \        4      '       g(   \        R \        P                  ! V 4      : RV : 24      hRp\
        P                  ! \
        P                  ! W4      4      pV'       g   \        P                  RW44       R# \        P                  ! R4      '       g   \        P                  R4       V! R.4       Rp\
        P                  ! V R	4      pV'       d   VR
P                  V4      ,          p\        P                  RTTV'       d   TMR4       \        P                  ! VP                  4       RR7      p\         P"                  P%                  VR4      p \
        P&                  ! V\(        4       \*        P,                  ! R4      ;_uu_ 4       p	V	P/                  \0        V4       RRR4       \         P"                  P9                  T4      '       d   \
        P:                  ! T4        \        P                  ! RRRT.4       R#   + '       g   i     Lh; i  \2         d,   p
\
        P4                  ! \        R\7        T
4      4       h Rp
?
ii ; i  \         P"                  P9                  T4      '       d   \
        P:                  ! T4       i i ; i  \        P<                   dX   p\>        TP@                  9   d   \        PC                  R4       h RTPD                  9   d   \        PC                  R4       h Rp?ii ; i)z''drivers' config expected dict, found 'z': znvidia/license-acceptedz$Not installing NVIDIA drivers. %s=%sNzubuntu-driverszI'ubuntu-drivers' command not available.  Installing ubuntu-drivers-commonzubuntu-drivers-commonÚnvidiaznvidia/versionz:{}z<Installing and activating NVIDIA drivers (%s=%s, version=%s)ÚlatestT)ÚdirÚ	needs_exeznvidia.templatez
cloud-initz.Failed to register NVIDIA debconf template: %sÚinstallz--gpgpuz[the available version of ubuntu-drivers is too old to perform requested driver installationz"No drivers found for installation.z0ubuntu-drivers found no drivers for installation)#Ú
isinstanceÚdictÚ	TypeErrorr   Úobj_namer   Útranslate_boolÚget_cfg_by_pathÚLOGÚdebugr   Úwhichr   r   ÚmkdtempÚget_tmp_exec_pathÚosÚpathÚjoinÚ
write_fileÚNVIDIA_DEBCONF_CONTENTÚdebconfÚDebconfCommunicatorÚcommandr   Ú	ExceptionÚlogexcÚstrÚisdirÚdel_dirÚProcessExecutionErrorÚ OLD_UBUNTU_DRIVERS_STDERR_NEEDLEÚstderrÚwarningÚstdout)ÚcfgÚpkg_install_funcr   ÚcfgpathÚnv_accÚ
driver_argÚversion_cfgÚtdirÚdebconf_fileÚdcÚeÚexcs   &&&         r   Úinstall_driversrI   9   s@  € Ü�cœ4× Ò Ýä×"Ò" 3Ö'ªð.ó
ð 	
ð
 (€Gô × Ò ¤×!5Ò!5°cÓ!CÓD€FßÜ�	‰	Ð8¸'ÔJÙä�:Š:Ð&×'Ò'Ü�	‰	ð/ô	
ñ 	Ð1Ð2Ô3à€JÜ×&Ò& sÐ,<Ó=€KßØ�e—l‘l ;Ó/Õ/ˆ
ä‡I�IØFØØß"‰¨ô	ô ×Ò &×":Ñ":Ó"<ÈÔM€DÜ—7‘7—<‘< Ð&7Ó8€LðÜ�Š˜Ô&<Ô=Ü×(Ò(¨×6Ô6¸"Ø�J‰JÔ)¨<Ô8÷ 7ô �7‰7�=‰=˜×ÒÜ�LŠL˜Ôð
Ü�	Š	Ð# Y°	¸:ÐFÖG÷ 7×6ûäô Ü�ŠÜÐAÄ3ÀqÃ6ô	
ð 	ûð	ûô �7‰7�=‰=˜×ÒÜ�LŠL˜Õð ûô
 ×%Ñ%ô Ü+¨s¯z©zÔ9Ü�K‰KðDôð 	ð 2°S·Z±ZÔ?Ü�K‰KÐJÔKØûðúsa   Å&9H) ÆHÆ6H) Ç:J# ÈH&	È!H) È%I" È&H) È)IÈ4&IÉIÉI" É">J Ê#LÊ8AL
Ì
Lc          
      óL   € V ^8„  d   QhR\         R\        R\        R\        RR/# )r   Únamer>   ÚcloudÚargsÚreturnN)r6   r	   r   Úlist)r   s   "r   r   r   y   s/   € ÷ ñ ”ð œ6ð ¬%ð ´tð Àñ r   c                 óð   € R V9  d   \         P                  RV 4       R# \        '       g   \         P                  RV 4       R# \	        VR ,          VP
                  P                  VP
                  4       R# )r   z4Skipping module named %s, no 'drivers' key in configNz<Skipping module named %s, 'python3-debconf' is not installed)r'   r(   ÚHAS_DEBCONFr<   rI   r   Úinstall_packages)rK   r>   rL   rM   s   &&&&r   ÚhandlerS   y   sY   € Ø˜ÔÜ�	‰	ÐHÈ$ÔOÙß‹;Ü�‰ØJØô	
ñ 	äØˆI�˜Ÿ™×5Ñ5°u·|±|ör   c                ó@   € V ^8„  d   Qh/ ^ \         9   d
   \        ;R&   # )r   Úmeta)Ú__conditional_annotations__r
   )r   s   "r   r   r      s   € × BÑ B÷0ò „jñ ò1 Cr   ) rV   Ú__doc__Úloggingr,   Úcloudinit.cloudr   Úcloudinit.distrosr   r1   rQ   ÚImportErrorÚ	cloudinitr   r   r   r   Úcloudinit.configr	   Úcloudinit.config.schemar
   Úcloudinit.settingsr   Ú	getLoggerÚ__name__r'   rU   r:   r0   r   rI   rS   r   )rV   s   @r   Ú<module>rb      s¯   øðö Cã Û 	å !Ý $ðÛà€K÷ 9Ó 8Ý #Ý .Ý +à×Ò˜Ó!€ð 	Ð
Ø�ˆzØ�Ø 	˜{ð	€ó ð Kð !ðÐ ð *Ð õ=÷@øðU ô Ø€GØ‚Kðús   žA8 Á8BÂB