| Server IP : 173.249.148.11 / Your IP : 216.73.216.179 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /snap/core24/current/lib/python3/dist-packages/cloudinit/distros/__pycache__/ |
Upload File : |
�
��ii* � �� � d dl Z d dlZd dlmZ d dlmZmZmZ d dlm Z d dl
mZ d dlm
Z
d dlmZ e j e� ZdZd Z G d
� dej* � Zdd�Zed
fd�Z dd�Zdd�Zy)� N)�List)�distros�subp�util)�Apt)�PackageManager)�HostnameConf)�CLOUDINIT_NETPLAN_FILEa8 # This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
z/etc/default/localec � � � e Zd ZdZded�Zed ed�ed edd�d�Zd Zd
Z � fd�Z
d� Zdd
�Z� fd�Z
d� Zd� Zd� Zdd�Zd� Zd� Zdd�Zd� Zdedededefd�Z� xZS )�Distroz
/etc/hostnamez'/etc/network/interfaces.d/50-cloud-init)�eni�netplanr
)�eni_path�
eni_headerr T)�netplan_path�netplan_header�postcmdsz
/var/lib/dhcpzdhclient\.\w+\.leasesc � �� t �| � |||� d| _ d| _ d | _ t j | j |� | _ | j g| _ y )N�debianzC.UTF-8)
�super�__init__�osfamily�default_locale�
system_localer �from_config�_runner�apt�package_managers)�self�name�cfg�paths� __class__s ��:/usr/lib/python3/dist-packages/cloudinit/distros/debian.pyr zDistro.__init__7 sQ �� �
����s�E�*� !��
�'���!����?�?�4�<�<��5���7;�x�x�j��� c � � | j st � | _ | j r| j S | j S )z9Return the default locale if set, else use default locale)r �read_system_localer �r s r$ �
get_localezDistro.get_localeB s>