+
    ˜qgj::  ã                   ó  € ^ RI t ^ RIt^ RIt^ RIHt ^ RIHtHtHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt ] P"                  ! ]4      tRtR	tR
tRt ! R R]P0                  4      tRR lt]R3R ltRR ltR R ltRR ltR# )é    N)ÚList)ÚdistrosÚsubpÚutil)ÚApt)ÚPackageManager)ÚHostnameConf)ÚCLOUDINIT_NETPLAN_FILEa8  # This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
z/etc/default/localez/etc/locale.genz/usr/share/i18n/SUPPORTEDc            	       óì   a a€ ] tR t^&t oRtRRR]/tRR]R,          R]/RR]R,          R]R	R
//tRt	Rt
V 3R ltR tRR ltV 3R ltR tR tR tRR ltR tR tRR ltR tV3R lR ltRtVtV ;t# )ÚDistroz/etc/hostnameÚeniz'/etc/network/interfaces.d/50-cloud-initÚnetplanÚeni_pathÚ
eni_headerÚnetplan_pathÚnetplan_headerÚpostcmdsTz/var/lib/dhcpzdhclient\.\w+\.leasesc                óÂ   <€ \         SV `  WV4       R V n        RV n        RV n        \
        P                  ! V P                  V4      V n        V P                  .V n	        R# )ÚdebianzC.UTF-8N)
ÚsuperÚ__init__ÚosfamilyÚdefault_localeÚsystem_localer   Úfrom_configÚ_runnerÚaptÚpackage_managers)ÚselfÚnameÚcfgÚpathsÚ	__class__s   &&&&€Ú:/usr/lib/python3/dist-packages/cloudinit/distros/debian.pyr   ÚDistro.__init__<   sO   ø€ Ü‰Ñ˜ EÔ*ð !ˆŒØ'ˆÔØ!ˆÔÜ—?’? 4§<¡<°Ó5ˆŒØ7;·x±x°jˆÖó    c                ó˜   € V P                   '       g   \        4       V n         V P                   '       d   V P                   # V P                  # )z9Return the default locale if set, else use default locale)r   Úread_system_localer   ©r   s   &r$   Ú
get_localeÚDistro.get_localeG   sD   € ð ×!×!Ð!Ü!3Ó!5ˆDÔð #'×"4×"4Ð"4ˆD×Ñð	
Ø:>×:MÑ:Mð	
r&   c                ó  € V'       g   \         pV'       g   \        R4      hV P                  4       p\        P                  P                  V4      pV P                  '       * pV'       d'   \        P                  R\         V P                  4       M%\        P                  RV P                  \         4       VP                  4       VP                  4       8g  ;'       g    V'       * ;'       g    TpV'       * ;'       g    T;'       g    TpV'       d%   \        VV P                  VV P                  R7       M"\        P                  RVV P                  V4       V'       d.   \        VVV P                  VV P                  R7       RV n        R# R# )z]Apply specified locale to system, regenerate if specified locale
differs from system default.zFailed to provide locale value.zVSystem locale not found in %s. Assuming system locale is %s based on hardcoded defaultzSystem locale set to %s via %s)ÚkeynameÚinstall_functionz9System has '%s=%s' requested '%s', skipping regeneration.)r   r-   r.   N)ÚLOCALE_CONF_FNÚ
ValueErrorr*   ÚosÚpathÚexistsr   ÚLOGÚdebugr   ÚlowerÚregenerate_localeÚinstall_packagesÚupdate_locale_conf)	r   ÚlocaleÚout_fnr-   Údistro_localeÚconf_fn_existsÚsys_locale_unsetÚ
need_regenÚ	need_confs	   &&&&     r$   Úapply_localeÚDistro.apply_localeR   sX  € ÷ Ü#ˆFçÜÐ>Ó?Ð?ð Ÿ™Ó)ˆÜŸ™Ÿ™¨Ó/ˆØ#×1Ñ1Ô1ÐßÜ�I‰IðJäØ×#Ñ#õ	ô �I‰IØ0Ø×"Ñ"Üôð �L‰L‹N˜m×1Ñ1Ó3Ñ3÷  ð  Ø!Ô!÷ ð  àð 	ð
 'Ô&×HÐH¨*×HÐHÐ8Hˆ	çÜØØ×#Ñ#ØØ!%×!6Ñ!6ö	ô �I‰IØKØØ×"Ñ"Øô	÷ ÜØØØ#×2Ñ2ØØ!%×!6Ñ!6õð "&ˆDÖñ r&   c                ó8   <€ \        4        \        SV `  ! V/ VB # ©N)Ú_maybe_remove_legacy_eth0r   Ú_write_network_state)r   ÚargsÚkwargsr#   s   &*,€r$   rF   ÚDistro._write_network_stateŽ   s   ø€ Ü!Ô#Ü‰wÒ+¨TÐ<°VÑ<Ð<r&   c                ó^  € R p V P                  V4      pT'       g   \        R4      pTP                  T4       \        P                  ! T\        T4      R4       R #   \         dF    \        P                  ! T P                  RR4      pT'       d    L~\
        P                  R4        R # i ; i)NÚcreate_hostname_fileTz8create_hostname_file is False; hostname file not createdÚ é¤  )Ú_read_hostname_confÚIOErrorr   Úget_cfg_option_boolÚ_cfgr4   Úinfor	   Úset_hostnameÚ
write_fileÚstr)r   ÚhostnameÚfilenameÚconfrK   s   &&&  r$   Ú_write_hostnameÚDistro._write_hostname’   s™   € Øˆð	ð ×+Ñ+¨HÓ5ˆD÷ Ü Ó#ˆDØ×Ñ˜(Ô#Ü�Š˜¤# d£)¨UÖ3øô ô 
	Ü#'×#;Ò#;Ø—	‘	Ð1°4ó$Ð ÷ $Ùä—‘ØNôò ð
	ús   „A Á4B,ÂB,Â+B,c                óT   € V P                  V P                  4      pV P                  V3# rD   )Ú_read_hostnameÚhostname_conf_fn)r   Úsys_hostnames   & r$   Ú_read_system_hostnameÚDistro._read_system_hostname¨   s)   € Ø×*Ñ*¨4×+@Ñ+@ÓAˆØ×%Ñ% |Ð4Ð4r&   c                ód   € \        \        P                  ! V4      4      pVP                  4        V# rD   )r	   r   Úload_text_fileÚparse)r   rW   rX   s   && r$   rN   ÚDistro._read_hostname_conf¬   s%   € ÜœD×/Ò/°Ó9Ó:ˆØ�
‰
ŒØˆr&   c                ó|   € R p V P                  V4      pVP                  pV'       g   V# V#   \         d     Li ; irD   )rN   rV   rO   )r   rW   ÚdefaultrV   rX   s   &&&  r$   r\   ÚDistro._read_hostname±   sH   € Øˆð	Ø×+Ñ+¨HÓ5ˆDØ—}‘}ˆH÷ ØˆNØˆøô	 ô 	Ùð	ús   „- ­;º;c                ó   € R # )z	127.0.1.1© r)   s   &r$   Ú_get_localhost_ipÚDistro._get_localhost_ip¼   s   € ár&   c                óR   € \         P                  ! WP                  V4      R 7       R# ))ÚtzÚtz_fileN)r   Úset_etc_timezoneÚ_find_tz_file)r   rm   s   &&r$   Úset_timezoneÚDistro.set_timezoneÀ   s   € Ü× Ò  B×0BÑ0BÀ2Ó0F×Gr&   c                óh   € VR 8w  d   \        RV R24      hV P                  P                  R 4       R# )ÚupgradezUnable to handle z commandN)ÚRuntimeErrorr   Úrun_package_command)r   ÚcommandrG   Úpkgss   &&&&r$   Úpackage_commandÚDistro.package_commandÃ   s3   € ð �iÔÜÐ!2°7°)¸8ÐDÓEÐEØ�‰×$Ñ$ YÖ/r&   c                ó,   € \         P                  ! 4       # rD   )r   Úget_dpkg_architecturer)   s   &r$   Úget_primary_archÚDistro.get_primary_archÊ   s   € Ü×)Ò)Ó+Ð+r&   c                ó2   <€ V ^8„  d   QhRS[ RS[ RS[ RS[ /# )é   ÚlayoutÚmodelÚvariantÚoptions©rU   )ÚformatÚ__classdict__s   "€r$   Ú__annotate__ÚDistro.__annotate__Í   s)   ø€ ÷  8ñ  8¡ð  8©Sð  8¹3ð  8Éñ  8r&   c                ó²   € R P                  RRRV R2RV R2RV R2RV R2RRR.	4      p\        P                  ! R	VR
RR7       V P                  RR4       R# )Ú
z'# This file was generated by cloud-initrL   z
XKBMODEL="Ú"zXKBLAYOUT="zXKBVARIANT="zXKBOPTIONS="zBACKSPACE="guess"z/etc/default/keyboardrM   Úw)rW   ÚcontentÚmodeÚomodeÚrestartzconsole-setupN)Újoinr   rT   Úmanage_service)r   r�   r‚   rƒ   r„   Úcontentss   &&&&& r$   Ú
set_keymapÚDistro.set_keymapÍ   s‚   € ð —9‘9à9ØØ˜U˜G 1Ð%Ø˜f˜X QÐ'Ø˜w˜i qÐ)Ø˜w˜i qÐ)ØØ#Øð
ó
ˆô 	�ŠØ,ØØØõ		
ð 	×Ñ˜I Ö7r&   )r   r   r   r   r   )NÚLANGrD   )NN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r]   r
   Únetwork_conf_fnÚNETWORK_FILE_HEADERÚrenderer_configsÚdhclient_lease_directoryÚdhclient_lease_file_regexr   r*   rA   rF   rY   r_   rN   r\   rj   rq   ry   r}   r•   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r#   r‡   s   @@r$   r   r   &   s»   ù‡ € Ø&ÐàÐ8ØÐ)ð€Oð
 	Ø˜¨Õ.ØÐ-ð
ð 	Ø˜O¨IÕ6ØÐ1Ø˜ð
ð
Ðð  /ÐØ 8Ðõ	Aò	
ô:&õx=ò4ò,5òô
	òòHô0ò,÷ 8÷  8ð  8r&   r   c                óü  € \         P                  P                  V 4      '       g   R# Rp \        P                  ! V 4      pRR.pVP                  4        Uu. uF+  qDP                  R4      '       d   K  VP                  4       NK-  	  ppWS8X  d!   \        P                  ! V 4       RV ,          pMVRV ,          ,           p \        P                  V4       R# u upi   \         d    TRT ,          ,           p L9i ; i)	a3  Ubuntu cloud images previously included a 'eth0.cfg' that had
hard coded content.  That file would interfere with the rendered
configuration if it was present.

if the file does not exist do nothing.
If the file exists:
  - with known content, remove it and warn
  - with unknown content, leave it and warn
Nz(Dynamic networking config may not apply.z	auto eth0ziface eth0 inet dhcpÚ#zremoved %s with known contentsz* '%s' exists with user configured content.z" %s exists, but could not be read.)r1   r2   r3   r   rb   Ú
splitlinesÚ
startswithÚstripÚdel_fileÚ	Exceptionr4   Úwarning)r2   Úbmsgr”   Úknown_contentsÚfÚlinesÚmsgs   &      r$   rE   rE   ð   sÛ   € ô �7‰7�>‰>˜$×ÒÙà5€DðAÜ×&Ò& tÓ,ˆØ%Ð'=Ð>ˆà'×2Ñ2Ô4ó
Ù4˜!¿L¹LÈ×<MŒIˆA�G‰GŽIÑ4ð 	ð 
ð Ô"Ü�MŠM˜$ÔØ2°TÕ9‰CàÐEÈÕLÕL‰Cô ‡K�K�Öùò
øô ô AØÐ9¸DÕ@Õ@ŠðAús/   «,C ÁCÁ4CÂ'C Â0C ÃC ÃC;Ã:C;r—   c                ó  € RpV '       g   \        RV ,          4      h\        P                  P                  V 4      '       d?   \        P
                  ! V 4      p\        P                  ! V4      pVP                  VR4      pV# )z.Read system default locale setting, if presentrL   zInvalid path: %s)r0   r1   r2   r3   r   rb   Úload_shell_contentÚget)Úsys_pathr-   Úsys_valÚlocale_contentÚsys_defaultss   &&   r$   r(   r(     se   € à€GßÜÐ+¨hÕ6Ó7Ð7ä	‡w�w‡~�~�h×ÒÜ×,Ò,¨XÓ6ˆÜ×.Ò.¨~Ó>ˆØ×"Ñ" 7¨BÓ/ˆà€Nr&   c           	     óî   € \         P                  RWV 4       \        P                  ! R4      '       g   V'       d
   V! R.4       \        P                  ! RRV,           V: RV : 2.RVRVRV/R	R
7       R# )zUpdate system locale configz%Updating %s with locale setting %s=%szupdate-localeÚlocalesz--locale-file=Ú=ÚLANGUAGEr—   ÚLC_ALLF)Ú
update_envÚcaptureN)r4   r5   r   Úwhich)r:   r´   r   r-   r.   s   &&&&&r$   r9   r9     st   € ô ‡I�IØ/°ÀFôô �:Š:�o×&Ò&×+;Ù˜)˜Ô%Ü‡I‚IàØ˜xÕ'Û¢Ð'ð	
ð ˜Ø�NØ�nð
ð
 ÷r&   c                ó0   € V ^8„  d   QhR\         R\         /# )r€   Ú	requestedÚreturnr…   )r†   s   "r$   rˆ   rˆ   6  s   € ÷ >ñ >¬Cð >´Cñ >r&   c                óÖ  €  \         P                  ! \        4      P                  4       p\
        P                  ! RV 4      pV'       g   T pRpRpMGVP                  ^4      VP                  ^4      VP                  ^4      rTpYe'       d   RV 2MR,           p. p\
        P                  ! R\
        P                  ! V4       R24      pV F;  p	VP                  V	4      '       g   K  VP                  V	P                  4       4       K=  	  V'       g   V'       g   RpV RV R	V 2# V'       dj   \
        P                  ! R\
        P                  ! V4       R
\
        P                  ! V4       R24      p
V F  p	V
P                  V	4      '       g   K  V	u # 	  V F3  p	\
        P                  ! RV	\
        P                  4      '       g   K1  V	u # 	  V^ ,          #   \         d    . p EL½i ; i)u‚  
Return the canonical line from /usr/share/i18n/SUPPORTED for `requested`.

Accepts:
  - bare language_region:   "fi_FI"
  - with charset:           "fi_FI.ISO-8859-1" or "fi_FI.UTF-8"
  - with modifier:           "fi_FI@euro" (works with/without charset)

Prefers UTF-8 only when the request didnâ€™t specify a charset and multiple
candidates exist; otherwise returns the first match.
z<^([A-Za-z_]+)(?:\.([A-Za-z0-9\-]+))?(?:@([A-Za-z0-9_\-]+))?$NÚ@rL   z^\s*z$(?:\.[^\s@]+)?(?:@[^\s]+)?\s+[^\s]+$zUTF-8Ú.Ú z\.z(?:@[^\s]+)?\s+z\sUTF-8$)r   rb   ÚSUPPORTED_FNr¦   ÚOSErrorÚreÚmatchÚgroupÚcompileÚescapeÚappendr¨   ÚsearchÚ
IGNORECASE)rÁ   Úsupported_linesÚmÚprefixÚwanted_charsetÚ
wanted_modÚbaseÚ
candidatesÚrxÚlineÚrx_exacts   &          r$   Ú_lookup_supported_i18n_valuerÛ   6  s¥  € ðÜ×-Ò-¬lÓ;×FÑFÓHˆô
 	�ŠØGØó	€A÷ àˆØˆØ‰
à+,¯7©7°1«:°q·w±w¸q³zÀ1Ç7Á7È1Ã:˜jˆØ®Z˜1˜Z˜LÑ)¸RÕ@ˆð €JÜ	�ŠØ”—	’	˜&Ó!Ð"Ð"FÐGó
€Bó  ˆØ�8‰8�D�>Œ>Ø×Ñ˜dŸj™j›lÖ+ñ  ÷ ÷ Ø$ˆNØ�˜˜>Ð*¨!¨NÐ+;Ð<Ð<çä—:’:Ø”B—I’I˜fÓ%Ð& b¬¯ª°>Ó)BÐ(CÀ?ÐSó
ˆó ˆDØ�~‰~˜d×#Ô#Ø’ñ ó ˆÜ�9Š9�[ $¬¯©×6Ô6ØŠKñ ð �a�=Ðøôa ô Ø‹ðús   ‚(G ÇG(Ç'G(c           
     ó>  € V P                  4       R9   d   \        P                  RW 4       R# \        P                  ! R4      '       g   V'       d
   V! R.4       \        V 4      pRp \        P                  ! \        4      p. pRp\        P                  ! R\        P                  ! V4       R24      pVP                  4        Fz  p	V	P                  4       p
V
'       g   VP                  V	4       K.  VP!                  V
P#                  R	4      4      '       d   VP                  V4       R
pKi  VP                  V	4       K|  	  V'       g   VP                  V4       \        P$                  ! \&        P(                  P+                  \        4      4       \        P,                  ! \        RP/                  V4      P1                  4       R,           4       \        P                  RV 4       \        P                  ! RR.RRVRVRV/R7       R#   \         d    Rp EL˜i ; i)zŒ
Ensure `locale` is enabled in /etc/locale.gen, then run locale-gen.
Debian's locale-gen reads /etc/locale.gen and ignores positional args.
z$%s=%s does not require rengenerationNz
locale-genr¹   rL   Fz^#?\s*z\s*$z# Tr‹   zGenerating locales for %sz--keep-existingr»   r—   r¼   )r¾   r½   )Úczc.utf-8zc.utf8Úposix)r6   r4   r5   r   r¿   rÛ   r   rb   ÚLOCALE_GEN_FNrÈ   rÉ   rÌ   rÍ   r¦   r¨   rÎ   rÊ   ÚlstripÚ
ensure_dirr1   r2   ÚdirnamerT   r’   Úrstrip)r:   r   r-   r.   rÙ   ÚexistingÚ	out_linesÚfound_enabledÚ	target_reÚrawÚss   &&&&       r$   r7   r7   w  s¥  € ð ‡|�|ƒ~Ð<Ô<Ü�	‰	Ð8¸'ÔJÙä�:Š:�l×#Ò#×(8Ù˜)˜Ô%ô (¨Ó/€Dð €HðÜ×&Ò&¤}Ó5ˆð €IØ€MÜ—
’
˜f¤R§Y¢Y¨t£_Ð$5°TÐ:Ó;€Ià×"Ñ"Ö$ˆØ�I‰I‹KˆßØ×Ñ˜SÔ!Ùà�?‰?˜1Ÿ8™8 D›>×*Ò*à×Ñ˜TÔ"Ø ŠMð ×Ñ˜SÖ!ñ %÷ Ø×Ñ˜Ôä‡O‚O”B—G‘G—O‘O¤MÓ2Ô3Ü‡O‚O”M 4§9¡9¨YÓ#7×#>Ñ#>Ó#@À4Õ#GÔHô ‡I�IÐ)¨6Ô2ä‡I‚IØ	Ð(Ð)Øà˜Ø�NØ�nð
÷øô= ô Ø‹ðús   Á)H ÈHÈH)z"/etc/network/interfaces.d/eth0.cfg)r—   N)Úloggingr1   rÉ   Útypingr   Ú	cloudinitr   r   r   Ú(cloudinit.distros.package_management.aptr   Ú4cloudinit.distros.package_management.package_managerr   Ú"cloudinit.distros.parsers.hostnamer	   Úcloudinit.net.netplanr
   Ú	getLoggerr˜   r4   r�   r/   rß   rÇ   r   rE   r(   r9   rÛ   r7   ri   r&   r$   Ú<module>rò      s„   ðó Û 	Û 	Ý ç )Ñ )Ý 8Ý OÝ ;Ý 8à×Ò˜Ó!€ðÐ ð '€Ø!€Ø*€ôG8ˆW�^‰^ô G8ôTð@ !/¸ô ôõ0>öBBr&   