Viewing File: /usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_once.pyo
ó
oBú]c @ sK d Z d d l Z d d l m Z d d l m Z e Z d Z d „ Z d S( 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( t util( t PER_ONCEs per-oncec C s` t j j | j ƒ d t ƒ } y t j | ƒ Wn* t k
r[ | j d | t | ƒ ‚ n Xd S( Nt scriptss"