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 : NONE
ó
oBú]c @ sa d d l Z d d l Z d d l m Z d d l m Z e j e ƒ Z d e
f d „ ƒ YZ d S( iÿÿÿÿN( t log( t eventst Cloudc B s¶ e Z d d „ Z d „ Z e d „ ƒ Z d e d „ Z d „ Z e
d „ Z d „ Z e d „ ƒ Z
d „ Z d „ Z e e d
„ Z d „ Z d d „ Z d d
„ Z d d „ Z RS( c C sg | | _ | | _ | | _ | | _ | | _ | d k rZ t j d d d d d t ƒ } n | | _ d S( Nt names unnamed-cloud-reportert descriptiont reporting_enabled(
t
datasourcet pathst distrot _cfgt _runnerst NoneR t ReportEventStackt Falset reporter( t selfR R t cfgR t runnersR ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyt __init__ s c C s t j ƒ t j | j ƒ d S( N( t loggingt resetLoggingt setupLoggingR ( R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyt
cycle_logging, s
c C s t j | j ƒ S( N( t copyt deepcopyR ( R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR 0 s c C s | j j | | | | | ƒ S( N( R
t run( R R t functort argst freqt
clear_on_fail( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR 5 s c C sI | j j | } t j j | ƒ sE t j d t j j | ƒ | ƒ d S| S( Ns- No template found in %s for template named %s( R t template_tplt ost patht isfilet LOGt warningt dirnameR ( R R t fn( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyt get_template_filename8 s c C s | j j | ƒ S( N( R t get_userdata( R t apply_filter( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR' A s c C s
| j j ƒ S( N( R t get_instance_id( R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR) D s c C s
| j j S( N( R t launch_index( R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR* G s c C s
| j j ƒ S( N( R t get_public_ssh_keys( R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR+ K s c C s
| j j ƒ S( N( R t
get_locale( R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR, N s c C s | j j d | d | ƒ S( Nt fqdnt
metadata_only( R t get_hostname( R R- R. ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR/ Q s c C s | j j | ƒ S( N( R t device_name_to_device( R R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR0 U s c C s | j j | ƒ S( N( R t
get_ipath_cur( R R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR1 X s c C s | j j | ƒ S( N( R t get_cpath( R R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR2 [ s c C s | j j | ƒ S( N( R t get_ipath( R R ( ( s3 /usr/lib/python2.7/site-packages/cloudinit/cloud.pyR3 ^ s N( t __name__t
__module__R R R t propertyR R
R R&