+
    ˜qgjá  ã                   ó”   € R t ^ RIt^ RIt^ RIt^ RIHt ^ RIHtHt ^ RI	H
t
 ^ RIHtHt RtRR ltR tR	 t]R
8X  d
   ]! 4        R# R# )zCCommandline utility to list the canonical cloud-id for an instance.N)Úread_cfg_paths)ÚRunningStatusÚget_status_details)Úlog_util)ÚMETADATA_UNKNOWNÚcanonical_cloud_idzcloud-idc                ó  € \        4       P                  R4      pV '       g   \        P                  ! \        RR7      p V P                  RRRRRR	7       V P                  R
RRRRR	7       V P                  RR\        VRV 2R7       V # )a  Build or extend an arg parser for the cloud-id utility.

@param parser: Optional existing ArgumentParser instance representing the
    query subcommand which will be extended to support the args of
    this utility.

@returns: ArgumentParser with proper argument configuration.
Úinstance_dataz/Report the canonical cloud-id for this instance)ÚprogÚdescriptionz-jz--jsonÚ
store_trueFz5Report all standardized cloud-id information as json.)ÚactionÚdefaultÚhelpz-lz--longz=Report extended cloud-id information as tab-delimited string.z-iz--instance-dataz,Path to instance-data.json file. Default is )Útyper   r   )r   Úget_runpathÚargparseÚArgumentParserÚNAMEÚadd_argumentÚstr)ÚparserÚdefault_instance_jsons   & Ú8/usr/lib/python3/dist-packages/cloudinit/cmd/cloud_id.pyÚ
get_parserr      s±   € ô +Ó,×8Ñ8¸ÓIÐßÜ×(Ò(ÜØIô
ˆð ×ÑØØØØØDð ô ð ×ÑØØØØØLð ô ð ×ÑØØÜØ%ðØ/Ð0ð2ð ô 	ð €Mó    c                ó4  € \        4       pVP                  \        P                  8X  dE   \        P
                  P                  RP                  VP                  P                  4      4       ^# VP                  \        P                  8X  dE   \        P
                  P                  RP                  VP                  P                  4      4       ^#  \        VP                  4      ;_uu_ 4       p\        P                  ! V4      pRRR4       XP%                  R/ 4      p\'        TP%                  R\(        4      TP%                  R\(        4      TP%                  R	\(        4      4      pTP                  '       d?   \        P*                  P                  R
4       YvR&   \        P,                  ! T^RRR7      pM2TP.                  '       d   T: RTP%                  R\(        4      : 2pMTp\        P
                  P                  RT,          4       ^ #   + '       g   i     EL; i  \         d+    \        P                   ! RTP                  ,          4      u # \"         d3   p\        P                   ! RTP                  : RT: 24      u Rp?# Rp?ii ; i)z¬Handle calls to 'cloud-id' cli.

Print the canonical cloud-id on which the instance is running.

@return: 0 on success, 1 on error, 2 on disabled, 3 on cloud-init not run.
z{0}
NzTFile not found '%s'. Provide a path to instance data json file using --instance-datazFile 'z' is not valid json. Úv1Ú
cloud_nameÚregionÚplatformz%DEPRECATED: Use: cloud-init query v1
Úcloud_idT)ÚindentÚ	sort_keysÚ
separatorsÚ	z%s
)Ú,z: )r   Úrunning_statusr   ÚDISABLEDÚsysÚstdoutÚwriteÚformatÚvalueÚNOT_STARTEDÚopenr	   ÚjsonÚloadÚIOErrorr   ÚerrorÚ
ValueErrorÚgetr   r   ÚstderrÚdumpsÚlong)	ÚnameÚargsÚstatus_detailsÚfiler	   Úer   r!   Úresponses	   &&       r   Úhandle_argsr?   =   sá  € ô (Ó)€NØ×$Ñ$¬×(>Ñ(>Ô>Ü�
‰
×Ñ˜Ÿ™¨×(EÑ(E×(KÑ(KÓLÔMÙØ	×	&Ñ	&¬-×*CÑ*CÔ	CÜ�
‰
×Ñ˜Ÿ™¨×(EÑ(E×(KÑ(KÓLÔMÙð
Ü�$×$Ñ$×%Ô%¨Ü ŸIšI d›OˆM÷ &ð 
×	Ñ	˜4 Ó	$€BÜ!Ø
�‰ˆ|Ô-Ó.Ø
�‰ˆxÔ)Ó*Ø
�‰ˆzÔ+Ó,ó€Hð
 ‡y‡y€yÜ�
‰
×ÑÐAÔBØ!ˆ:‰Ü—:’:Ø�q D°[ô
‰ð 
��ˆÛ'¨¯©°Ô:JÕ)KÐL‰àˆÜ‡J�J×Ñ�V˜hÕ&Ô'Ù÷9 &×%Ð%ûäô 
Ü�~Š~ð%Ø'+×'9Ñ'9õ:ó
ò 	
ô ô 
Ü�~‹~Ø15×1CÔ1CÂQÐGó
õ 	
ûð
úsH   ÃH' Ã/HÄH' ÈH$	ÈH' È$H' È'2JÉJÉ$JÉ%'JÊJÊJc                 ó~   € \        4       p \        P                  ! \        \        V P                  4       4      4       R# )z,Tool to query specific instance-data values.N)r   r)   Úexitr?   r   Ú
parse_args)r   s    r   ÚmainrC   l   s%   € ä‹\€FÜ‡H‚HŒ[œ˜v×0Ñ0Ó2Ó3Ö4r   Ú__main__)N)Ú__doc__r   r0   r)   Úcloudinit.cmd.develr   Úcloudinit.cmd.statusr   r   Úcloudinit.logr   Úcloudinit.sourcesr   r   r   r   r?   rC   Ú__name__© r   r   Ú<module>rL      sJ   ðñ
 Jã Û Û 
å .ß BÝ "ß Bà€ô'òT,ò^5ð ˆzÔÙ†Fñ r   