| 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/net/ |
Upload File : |
�
oB�]c @ s& d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m
Z
d d l m Z d Z e j
e j � d e f d � � Y� Z d e f d
� � YZ e g Z d d � Z d � Z d d d
� Z d � Z e d � Z d d � Z d d � Z d S( i����N( t utili ( t get_devicelist( t read_sys_net_safes# /run/initramfs/open-iscsi.interfacet InitramfsNetworkConfigSourcec B s2 e Z d Z e j d � � Z e j d � � Z RS( sB ABC for net config sources that read config written by initramfsesc C s d S( sA Is this initramfs config source applicable to the current system?N( ( t self( ( s9 /usr/lib/python2.7/site-packages/cloudinit/net/cmdline.pyt
is_applicable s c C s d S( s; Render a v1 network config from the initramfs configurationN( ( R ( ( s9 /usr/lib/python2.7/site-packages/cloudinit/net/cmdline.pyt
render_config# s ( t __name__t
__module__t __doc__t abct abstractmethodR R ( ( ( s9 /usr/lib/python2.7/site-packages/cloudinit/net/cmdline.pyR s t KlibcNetworkConfigSourcec B s2 e Z d Z d d d d � Z d � Z d � Z RS( s� InitramfsNetworkConfigSource for klibc initramfs (i.e. Debian/Ubuntu)
Has three parameters, but they are intended to make testing simpler, _not_
for use in production code. (This is indicated by the prepended
underscores.)
c C s� | | _ | | _ | | _ | j d k r9 t � | _ n | j d k rZ t j � | _ n | j d k r� i | _ x9 t � D]+ } t | d � } | r| | | j | <q| q| Wn d S( Nt address( t _filest
_mac_addrst _cmdlinet Nonet _get_klibc_net_cfg_filesR t get_cmdlineR R ( R R R R t kt mac_addr( ( s9 /usr/lib/python2.7/site-packages/cloudinit/net/cmdline.pyt __init__2 s c C sH | j rD d | j k s'