OS : Linux
PHP Version : 7.4.33
Software : Apache/2.4.6 (CentOS) PHP/7.4.33
Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Disable Function : ó
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" Failed to run module %s (%s in %s)( t ost patht joint
get_ipath_curt
SCRIPT_SUBDIRR t runpartst Exceptiont warning( t namet _cfgt cloudt logt _argst
runparts_path( ( sD /usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyt handle' s
( t __doc__R t cloudinitR t cloudinit.settingsR t frequencyR R ( ( ( sD /usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyt