403Webshell
Server IP : 23.254.227.96  /  Your IP : 216.73.216.7
Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64
User : viralblo ( 1001)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/cloudinit/config/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/cloudinit/config/__pycache__/cc_apt_pipelining.cpython-36.pyc
3

��b�
�@s�UdZddlmZddlmZddlmZmZddlm	Z	e	Z
ddgZdZd	Z
d
dded
�ee
dddddgd�Zeee�Zdd�Zdd�ZdS)z)Apt Pipelining: configure apt pipelining.�)�dedent)�util)�
MetaSchema�get_meta_doc)�PER_INSTANCEZubuntuZdebianz+/etc/apt/apt.conf.d/90cloud-init-pipeliningzQ//Written by cloud-init per 'apt_pipelining'
Acquire::http::Pipeline-Depth "%s";
Zcc_apt_pipeliningzApt PipeliningzConfigure apt pipelininga        This module configures apt's ``Acquite::http::Pipeline-Depth`` option,
        which 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).

        Value configuration options for this module are:

        * ``false`` (Default): disable pipelining altogether
        * ``none``, ``unchanged``, or ``os``: use distro default
        * ``<number>``: Manually specify pipeline depth. This is not recommended.zapt_pipelining: falsezapt_pipelining: nonezapt_pipelining: unchangedzapt_pipelining: oszapt_pipelining: 3)�id�name�title�description�distros�	frequencyZexamplescCst|jdd�}t|�j�j�}|dkr2td|t�n>|dkr>dS|dd�td	d
�D�krdt||t�n|jd|�dS)
NZapt_pipelining�osZfalse�0�none�	unchangedcSsg|]}t|��qS�)�str)�.0�brr�'/usr/lib/python3.6/cc_apt_pipelining.py�
<listcomp>Bszhandle.<locals>.<listcomp>r�z%Invalid option for apt_pipelining: %s)rrr
)�getr�lower�strip�write_apt_snippet�DEFAULT_FILE�rangeZwarning)�_nameZcfgZ_cloud�logZ_argsZapt_pipe_valueZapt_pipe_value_srrr�handle:sr cCs&t|}tj||�|jd||�dS)z0Writes f_name with apt pipeline depth 'setting'.z+Wrote %s with apt pipeline depth setting %sN)�APT_PIPE_TPLrZ
write_file�debug)ZsettingrZf_nameZ
file_contentsrrrrHsrN)�__doc__�textwraprZ	cloudinitrZcloudinit.config.schemarrZcloudinit.settingsrrrrr!�metar rrrrr�<module>s.	

Youez - 2016 - github.com/yon3zu
LinuXploit