Current File : //lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.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( sB
Scripts User
------------
**Summary:** run user scripts
This module runs all user scripts. User scripts are not specified in the
``scripts`` directory in the datasource, but rather are present in the
``scripts`` dir in the instance configuration. Any cloud-config parts with a
``#!`` will be treated as a script and run. Scripts specified as cloud-config
parts will be run in the order they are specified in the configuration.
This module does not accept any config keys.
**Internal name:** ``cc_scripts_user``
**Module frequency:** per instance
**Supported distros:** all
i����N( t util( t PER_INSTANCEt scriptsc C s] t j j | j � t � } y t j | � Wn* t k
rX | j d | t | � � n Xd S( Ns"