HEX
Server: Apache
System: Linux fan.fanlow.com 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64
User: ssiacademy (1163)
PHP: 8.2.32
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.pyc
�
oB�]c@sKdZddlZddlmZddlmZeZdZd�ZdS(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(tutil(tPER_INSTANCEsper-instancecCs`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((sL/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.pythandle's
	
(	t__doc__Rt	cloudinitRtcloudinit.settingsRt	frequencyRR(((sL/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_instance.pyt<module>s