관리-도구
편집 파일: cc_scripts_vendor.cpython-39.pyc
a ����'�Dg����������������������@���s����U�d�Z�ddlZddlZddlmZmZ�ddlmZ�ddlm Z �ddl mZ�ddlm Z �ddlmZ�d e geg�d �Zeed<�e�e�ZdZee eedd �dd�ZdS�)z"Scripts Vendor: Run vendor scripts�����N)�subp�util)�Cloud)�Config)� MetaSchema)�ALL_DISTROS)�PER_INSTANCEZcc_scripts_vendor)�idZdistrosZ frequencyZactivate_by_schema_keys�metaZvendor)�name�cfg�cloud�args�returnc�������������� ���C���s^���t�j�|���dt�}t�|dg��}ztj||d��W�n$�t yX���t �d|�t|����Y�n0�d�S�)NZscripts)Zvendor_data�prefix)Z exe_prefixz"Failed to run module %s (%s in %s))�os�path�joinZ get_ipath_cur� SCRIPT_SUBDIRr���Zget_cfg_by_pathr���Zrunparts� Exception�LOGZwarning)r���r���r ���r���Z runparts_pathr�����r����F/usr/lib/python3.9/site-packages/cloudinit/config/cc_scripts_vendor.py�handle���s���� ��r���)�__doc__Zloggingr���Z cloudinitr���r���Zcloudinit.cloudr���Zcloudinit.configr���Zcloudinit.config.schemar���Zcloudinit.distrosr���Zcloudinit.settingsr���r ����__annotations__Z getLogger�__name__r���r����str�listr���r���r���r���r����<module>���s ����