+
    i                        a  R t0 t R t^ RIt^ RIHtHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHt ]P                  ! ]4      tRRR	R
/tRRR. ROR]RR./t] ^ k R tR R ltR# )z"Resolv Conf: configure resolv.confN)	templaterutil)Cloud)Config)
MetaSchema)PER_INSTANCEz/etc/resolv.confzresolv.confz/etc/systemd/resolved.confzsystemd.resolved.confidcc_resolv_confdistros	frequencyactivate_by_schema_keysmanage_resolv_confc                    . p. pR V9   de   VR ,          P                  4        FI  w  rV\        V\        4      '       g   K  V'       d   VP                  V4       K8  VP                  V4       KK  	  W4,            F  pVR ,          V K  	  VP	                  R 4      '       g   / VR &   W1R&   \
        P                  RV 4       \        P                  ! WV4       R# )optionsflagsz$Writing resolv.conf from template %sN)	items
isinstanceboolappendgetLOGdebugr   render_to_file)template_fnparamstarget_fnamer   false_flagskeyvalflags   &&&     A/usr/lib/python3/dist-packages/cloudinit/config/cc_resolv_conf.pygenerate_resolv_confr!   1   s    EKFy)//1HC#t$$LL%&&s+ 2 ##9d# $ ::i  y7OII4kB[?    c          
      L    V ^8  d   QhR\         R\        R\        R\        RR/# )   namecfgcloudargsreturnN)strr   r   list)formats   "r    __annotate__r-   H   s/     + + +6 +% +t + +r"   c                   RV9  d   \         P                  RV 4       R# \        P                  ! VRR4      '       g   \         P                  RV 4       R# RV9  d   \         P	                  R4       R#  VP                  \        VP                  P                  ,          4      p\        TTR,          TP                  P                  R	7       R#   \         d    \         P	                  R4        R# i ; i)
a?  
Handler for resolv.conf

@param name: The module name "resolv_conf" from cloud.cfg
@param cfg: A nested dict containing the entire cloud config contents.
@param cloud: The L{CloudInit} object in use.
@param log: Pre-initialized Python logger object to use for logging.
@param args: Any module arguments from cloud.cfg
r   zFSkipping module named %s, no 'manage_resolv_conf' key in configurationNFzGSkipping module named %s, 'manage_resolv_conf' present but set to Falseresolv_confz3manage_resolv_conf True but no parameters provided!z0No template found, not rendering resolve configs)r   r   r   )r   r   r   get_cfg_option_boolwarningget_template_filenameRESOLVE_CONFIG_TEMPLATE_MAPdistroresolve_conf_fnKeyErrorr!   )r%   r&   r'   r(   r   s   &&&& r    handler7   H   s     3&		<	

 	##C)=uEE		=	

 	CIJ11'(D(DE
 =!\\11
   FGs   50C  C43C4c                @    V ^8  d   Qh/ ^ \         9   d
   \        ;R&   # )r$   meta)__conditional_annotations__r   )r,   s   "r    r-   r-   	   s     ( (" j # )r"   )alpine
azurelinuxfedoramarineropensusezopensuse-leapzopensuse-microoszopensuse-tumbleweedphotonrhelsle_hpcz	sle-microsles	openeuler)r:   __doc__logging	cloudinitr   r   cloudinit.cloudr   cloudinit.configr   cloudinit.config.schemar   cloudinit.settingsr   	getLogger__name__r   r3   r9   r!   r7   r-   )r:   s   @r    <module>rN      sy    )  % ! # . +!  "9  	
    45' .@.+r"   