����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
a
'�Dg�
� @ s� d Z ddlZddlZddlZddlmZ ddlmZmZ ddl m
Z
ddlmZm
Z
dZddd �Zd
d� Zdd
� Zedkr�e� dS )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_idzcloud-idc C sd t � �d�}| stjtdd�} | jdddddd � | jd
ddddd � | jd
dt|d|� �d� | S )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 Zget_runpath�argparse�ArgumentParser�NAME�add_argument�str)�parserZdefault_instance_json� r �:/usr/lib/python3.9/site-packages/cloudinit/cmd/cloud_id.py�
get_parser s<