File: //snap/core22/2111/lib/python3/dist-packages/cloudinit/distros/__pycache__/mariner.cpython-310.pyc
o
x[h� � @ sP d dl Z d dlmZ d dlmZ d dlmZ e �e�Z dZ
G dd� dej�ZdS )� N)�helpers)�photon)�CLOUDINIT_NETPLAN_FILEa6 # 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}
c @ sT e Zd ZdZdZdZdZdeiZeed�ed e dd�d �Z
d
Zdd� Zd
d� Z
dS )�Distroz
/etc/hostnamez/etc/systemd/network/z/etc/locale.confz/etc/systemd/resolved.conf�netplan)�resolv_conf_fn�network_conf_dir�True)�netplan_path�netplan_header�postcmds)�networkdr Tc C s0 t j�| |||� t�|�| _d| _dg| _d S )N�mariner� systemctl)r r �__init__r �Runners�_runner�osfamily�init_cmd)�self�name�cfg�paths� r �;/usr/lib/python3/dist-packages/cloudinit/distros/mariner.pyr , s zDistro.__init__c C s dS )Nz 127.0.0.1r )r r r r �_get_localhost_ip5 s zDistro._get_localhost_ipN)�__name__�
__module__�__qualname__�systemd_hostname_conf_fnr �systemd_locale_conf_fn�resolve_conf_fnr �network_conf_fn�NETWORK_FILE_HEADER�renderer_configs�prefer_fqdnr r r r r r r s"