/usr/lib/python3/dist-packages/cloudinit/cmd/devel/__pycache__
NameSizeModeActions
hotplug_hook.cpython-310.pyc97170644editdlrm
logs.cpython-310.pyc122240644editdlrm
make_mime.cpython-310.pyc41520644editdlrm
net_convert.cpython-310.pyc46380644editdlrm
parser.cpython-310.pyc10200644editdlrm
render.cpython-310.pyc31340644editdlrm
__init__.cpython-310.pyc10440644editdlrm
Edit: /usr/lib/python3/dist-packages/cloudinit/cmd/devel/__pycache__/render.cpython-310.pyc (3134B)
o th@sdZddlZddlZddlZddlZddlmZddlmZm Z m Z m Z dZ ej ZeeZdddZdd d Zd d Zed krNeee edSdS)z,Debug jinja template rendering of user-data.N)read_cfg_paths)JinjaLoadErrorJinjaSyntaxParsingException NotJinjaErrorrender_jinja_payload_from_filerendercCsR|s tjttd}|jdtdd|jddtdtd|jdd d d d d |S)aBuild 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. )prog description user_dataz$Path to the user-data file to render)typehelpz-iz--instance-dataz6Optional path to instance-data.json file. Defaults to z-dz--debug store_trueFz+Add verbose messages during template render)actiondefaultr )argparseArgumentParserNAME__doc__ add_argumentstrCLOUDINIT_RUN_DIR)parserr__main__r;)NF)rrloggingr"r.cloudinit.cmd.develr!cloudinit.handlers.jinja_templaterrrrrrun_dirr getLogger__name__r'rr:r>exit parse_argsrrrrs     <