| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.7/site-packages/cloudinit/sources/ |
Upload File : |
�
oB�]c @ s� d d l m Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d l m
Z
e j e � Z
d e j f d � � YZ e Z e e j f f g Z d � Z d S(
i����( t b64decodeN( t Cepkot SERIAL_PORT( t log( t sources( t utilt DataSourceCloudSigmac B s\ e Z d Z d Z d � Z d � Z d � Z d � Z e e e d � Z d � Z
d � Z RS( s�
Uses cepko in order to gather the server context from the VM.
For more information about CloudSigma's Server Context:
http://cloudsigma-docs.readthedocs.org/en/latest/server_context.html
t
CloudSigmac C s2 t � | _ d | _ t j j | | | | � d S( Nt ( R t cepkot ssh_public_keyR t
DataSourcet __init__( t selft sys_cfgt distrot paths( ( sJ /usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceCloudSigma.pyR s c C sS t j d � t j d � } | s3 t j d � t St j d | � d | j � k S( s
Uses dmi data to detect if this instance of cloud-init is running
in the CloudSigma's infrastructure.
s0 determining hypervisor product name via dmi datas system-product-names- system-product-name not available in dmi datas detected hypervisor as %st
cloudsigma( t LOGt debugR t
read_dmi_datat Falset lower( R
t sys_product_name( ( sJ /usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceCloudSigma.pyt is_running_in_cloudsigma"