| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python2.7/site-packages/cloudinit/cmd/devel/ |
Upload File : |
�
oB�]c @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z m
Z
d d l m Z m
Z
d Z e j e � Z d d � Z d
� Z d � Z e d k r� e j e � � n d S(
s, Debug jinja template rendering of user-data.i����N( t render_jinja_payload_from_file( t log( t INSTANCE_JSON_FILEt INSTANCE_JSON_SENSITIVE_FILEi ( t addLogHandlerCLIt read_cfg_pathst renderc C s| | s! t j d t d t � } n | j d d t d d �| j d d d t d d �| j d
d d d
d t d d �| S( s Build or extend and arg parser for jinja render utility.
@param parser: Optional existing ArgumentParser instance representing the
subcommand which will be extended to support the args of this utility.
@returns: ArgumentParser with proper argument configuration.
t progt descriptiont user_datat typet helps$ Path to the user-data file to renders -is --instance-datasX Optional path to instance-data.json file. Defaults to /run/cloud-init/instance-data.jsons -ds --debugt actiont
store_truet defaults+ Add verbose messages during template render( t argparset ArgumentParsert NAMEt __doc__t add_argumentt strt False( t parser( ( s>