OS : Linux
PHP Version : 7.4.33
Software : Apache/2.4.6 (CentOS) PHP/7.4.33
Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Disable Function : ó
oBú]c @ sû d Z d d l Z d d l m Z d d l Z d d l Z d d l Z d d l m Z m Z d d l
m Z m Z d d l
m Z d d l m Z m Z m Z d d l
m Z d Z e j e ƒ Z d d
„ Z d „ Z d „ Z e d
k r÷ e ƒ n d S( s; Query standardized instance metadata from the command line.iÿÿÿÿN( t EACCES( t convert_jinja_instance_datat render_jinja_payload( t addLogHandlerCLIt read_cfg_paths( t log( t INSTANCE_JSON_FILEt INSTANCE_JSON_SENSITIVE_FILEt REDACT_SENSITIVE_VALUE( t utilt queryc C s* | s! t j d t d d ƒ } n | j d d d d d t d d
ƒ| j d d d
t d d t ƒ| j d d d d d t d d ƒ| j d d d
t d d ƒ| j d d d
t d d ƒ| j d d
t d d d d ƒ| j d d d d d t d d d d ƒ| j d! d" d
t d d# d d$ ƒ| S(% s# Build or extend an arg parser for query 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.
t progt descriptions Query cloud-init instance datas -ds --debugt actiont
store_truet defaultt helps+ Add verbose messages during template renders -is --instance-datat types> Path to instance-data.json file. Default is /run/cloud-init/%ss -ls --list-keyssB List query keys available at the provided instance-data