Viewing File: /usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_once.pyc

ó
oBú]c@sKdZddlZddlmZddlmZeZdZd„ZdS(sâ
Scripts Per Once
----------------
**Summary:** run one time scripts

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.

**Internal name:** ``cc_scripts_per_once``

**Module frequency:** per once

**Supported distros:** all
iÿÿÿÿN(tutil(tPER_ONCEsper-oncecCs`tjj|jƒdtƒ}ytj|ƒWn*tk
r[|jd|t|ƒ‚nXdS(Ntscriptss"Failed to run module %s (%s in %s)(	tostpathtjoint	get_cpatht
SCRIPT_SUBDIRRtrunpartst	Exceptiontwarning(tnamet_cfgtcloudtlogt_argst
runparts_path((sH/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_once.pythandle%s
	
(	t__doc__Rt	cloudinitRtcloudinit.settingsRt	frequencyRR(((sH/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_once.pyt<module>s
Back to Directory File Manager