+
    i                        a  R t0 t R t^ RI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 ^ RIHt . ROtRR	R
].R]RR./t] ^ k ]P&                  ! ]4      tR R ltR# )zPhone Home: Post data to urlN)	templater
url_helperutil)Cloud)Config)
MetaSchema)ALL_DISTROS)PER_INSTANCEidcc_phone_homedistros	frequencyactivate_by_schema_keys
phone_homec          
      L    V ^8  d   QhR\         R\        R\        R\        RR/# )   namecfgcloudargsreturnN)strr   r   list)formats   "@/usr/lib/python3/dist-packages/cloudinit/config/cc_phone_home.py__annotate__r   1   s6     ]
 ]
 ]
6 ]
% ]
t ]
 ]
    c           	      ,   V'       d   \         P                  ! V^ ,          4      pM(RV9  d   \        P                  RV 4       R# VR,          pRV9  d   \        P	                  RV 4       R# VR,          pVP                  RR4      pVP                  R4      p \        V4      pVR8X  d   \        pR
VP                  4       RVP                  4       P                  RVP                  RR7      P                  /pRRRRRR/p	V	P                  4        F  w  r \         P                  ! V4      W&   K   	  / pV F/  pW9   d   W,          W&   K  RW&   \        P	                  RV4       K1  	  / pVP                  4        F  w  rVf   RW&   K  \#        V4      W&   K  	  RVR
,          /p\$        P&                  ! VV4      p \(        P*                  ! VVV^,
          ^\         P,                  ! VP.                  4      R7       R#   \        \        3 d#    ^
p\         P                  ! \        R	T4        ELi ; i  \          d"    \         P                  ! \        RT4        EKQ  i ; i  \          d!    \         P                  ! \        RYW4        R# i ; i)    r   z=Skipping module named %s, no 'phone_home' configuration foundNurlzFSkipping module named %s, no 'url' found in 'phone_home' configurationpostalltriesz?Configuration entry 'tries' is not an integer, using %s insteadinstance_idhostnamefqdnT)r%   pub_key_rsaz/etc/ssh/ssh_host_rsa_key.pubpub_key_ecdsaz/etc/ssh/ssh_host_ecdsa_key.pubpub_key_ed25519z!/etc/ssh/ssh_host_ed25519_key.pubz1%s: failed to open, can not phone home that data!z=Requested key %s from 'post' configuration list not availablezN/AINSTANCE_ID)dataretriessec_betweenssl_detailsz0Failed to post phone home data to %s in %s tries)r   	read_confLOGdebugwarninggetint
ValueError	TypeErrorlogexcPOST_LIST_ALLget_instance_idget_hostnamer$   itemsload_text_file	Exceptionr   r   render_stringr   read_file_or_urlfetch_ssl_detailspaths)r   r   r   r   ph_cfgr   	post_listr"   all_keyspubkeysnpathsubmit_keyskreal_submit_keysv
url_paramss   &&&&             r   handlerL   1   s~   Q(s"II6
 \"F;	

 	
-C

65)IJJwE
E
 E!	 	u,,.E&&(11"""-66H 	6:>G ==?	--d3HK # K=%[KN!KNKK4  !!#9"'"%a&	 $ 	x.J 
!
!#z
2C
##!AI..u{{;	
s 	" 
M	

4  	KKH$ 	L  
CS	

s7   H H9A I( /H65H69'I%$I%('JJc                @    V ^8  d   Qh/ ^ \         9   d
   \        ;R&   # )r   meta)__conditional_annotations__r   )r   s   "r   r   r   	   s     " "( j ) #r   )r&   r'   r(   r#   r$   r%   )rO   __doc__logging	cloudinitr   r   r   cloudinit.cloudr   cloudinit.configr   cloudinit.config.schemar   cloudinit.distrosr   cloudinit.settingsr	   r7   rN   	getLogger__name__r/   rL   r   )rO   s   @r   <module>rZ      sh    #  1 1 ! # . ) + 	/}~	  !]
r   