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/net/__pycache__/ |
Upload File : |
3 ��b+$ � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm Z ddl mZmZ dZ dZG dd� de jd �ZG d d� de�ZegZddd �Zdd� Zddd�Zdd� Zdd� Zdd� Zddd�ZdS )� N)�util� )�get_devicelist�read_sys_net_safez#/run/initramfs/open-iscsi.interface�disabledc @ s8 e Zd ZdZejed�dd��Zejed�dd��Z dS )�InitramfsNetworkConfigSourcezBABC for net config sources that read config written by initramfses)�returnc C s dS )zAIs this initramfs config source applicable to the current system?N� )�selfr r �/usr/lib/python3.6/cmdline.py� is_applicable s z*InitramfsNetworkConfigSource.is_applicablec C s dS )z;Render a v1 network config from the initramfs configurationNr )r r r r � render_config! s z*InitramfsNetworkConfigSource.render_configN) �__name__� __module__�__qualname__�__doc__�abc�abstractmethod�boolr �dictr r r r r r s r )� metaclassc @ s6 e Zd ZdZd dd�Zed�dd�Zed�dd �ZdS )�KlibcNetworkConfigSourcez�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.) Nc C st || _ || _|| _| j d kr$t� | _ | jd kr8tj� | _| jd krpi | _x&t� D ]}t|d�}|rP|| j|<