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 : /usr/lib/python3.6/site-packages/cloudinit/config/__pycache__/ |
Upload File : |
3 ��b� � @ s� U d Z ddlmZ ddlmZ ddlmZmZ ddlm Z e Z ddgZdZd Z d dded �ee dddddgd�Zeee�Z dd� 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� frequencyZexamplesc C st |j dd�}t|�j� j� }|dkr2td|t� n>|dkr>d S |dd� td d �D �krdt||t� n|jd|� d S ) NZapt_pipelining�osZfalse�0�none� unchangedc S s g | ]}t |��qS � )�str)�.0�br r �'/usr/lib/python3.6/cc_apt_pipelining.py� <listcomp>B s zhandle.<locals>.<listcomp>r � z%Invalid option for apt_pipelining: %s)r r r )�getr �lower�strip�write_apt_snippet�DEFAULT_FILE�rangeZwarning)�_nameZcfgZ_cloud�logZ_argsZapt_pipe_valueZapt_pipe_value_sr r r �handle: s r c C s&