File manager - Edit - /usr/lib/python3.6/site-packages/cloudinit/config/__pycache__/cc_scripts_per_once.cpython-36.pyc
Back
3 \�me � @ s� U d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z mZ ddlm Z ddlmZ eZd Zd ddee geg g d �Ze ee�Z eje�ZdZeeeedd�dd�ZdS )z&Scripts Per Once: Run one time scripts� N)�subp)�Cloud)�Config)� MetaSchema�get_meta_doc)�ALL_DISTROS)�PER_ONCEa4 Any scripts in the ``scripts/per-once`` directory on the datasource will be run only once. Changes to the instance will not force a re-run. The only way to re-run these scripts is to run the clean subcommand and reboot. Scripts will be run in alphabetical order. This module does not accept any config keys. Zcc_scripts_per_oncezScripts Per OncezRun one time scripts)�id�name�title�descriptionZdistros� frequencyZexamplesZactivate_by_schema_keyszper-once)r �cfg�cloud�args�returnc C sN t jj|j� dt�}ytj|� W n& tk rH tj d| t|� � Y nX d S )N�scriptsz"Failed to run module %s (%s in %s)) �os�path�joinZ get_cpath� SCRIPT_SUBDIRr Zrunparts� Exception�LOGZwarning)r r r r Z runparts_path� r �)/usr/lib/python3.6/cc_scripts_per_once.py�handle- s r )�__doc__Zloggingr Z cloudinitr Zcloudinit.cloudr Zcloudinit.configr Zcloudinit.config.schemar r Zcloudinit.distrosr Zcloudinit.settingsr r ZMODULE_DESCRIPTION�metaZ getLogger�__name__r r �str�listr r r r r �<module> s,
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings