| Server IP : 3.7.136.76 / Your IP : 216.73.216.142 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /snap/core22/2987/usr/lib/python3/dist-packages/cloudinit/net/__pycache__/ |
Upload File : |
o
��i] � @ sL d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dlm Z m
Z
mZ d dlm
Z
mZmZmZ d dlmZmZmZmZmZmZ d dlmZmZ dZdZe�e�Zd d
� Z de!de!d
e fdd�Z"dd� Z#d%dd�Z$ d%de%dee% de&fdd�Z'de%fdd�Z(de%de%de&fdd�Z)de%de%fdd �Z*G d!d"� d"ej+�Z+d#d$� Z,dS )&� N)�SpooledTemporaryFile)�Callable�List�Optional)�features�safeyaml�subp�util)�IPV6_DYNAMIC_TYPES�
SYS_CLASS_NET�get_devicelist�renderer�should_add_gateway_onlink_flag�subnet_is_ipv6)�NET_CONFIG_TO_V2�NetworkStatez/etc/netplan/50-cloud-init.yamls4 # This is the initial network config.
# It can be overwritten by cloud-init or console-conf.
network:
version: 2
ethernets:
all-en:
match:
name: "en*"
dhcp4: true
all-eth:
match:
name: "eth*"
dhcp4: true
c s t � fdd�| �� D ��S )Nc 3 s&