Current File : //lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.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 Instance
--------------------
**Summary:** run per instance scripts
Any scripts in the ``scripts/per-instance`` directory on the datasource will
be run when a new instance is first booted. Scripts will be run in alphabetical
order. This module does not accept any config keys.
Some cloud platforms change instance-id if a significant change was made to
the system. As a result per-instance scripts will run again.
**Internal name:** ``cc_scripts_per_instance``
**Module frequency:** per instance
**Supported distros:** all
i����N( t util( t PER_INSTANCEs per-instancec C s` t j j | j � d t � } y t j | � Wn* t k
r[ | j d | t | � � n Xd S( Nt scriptss"