| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/cloudinit/distros/__pycache__/ |
Upload File : |
U
Ӈg� � @ 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)Zresolv_conf_fn�network_conf_dir�True)Znetplan_pathZnetplan_headerZpostcmds)Znetworkdr Tc C s0 t j�| |||� t�|�| _d| _dg| _d S )NZmarinerZ systemctl)r r �__init__r ZRunnersZ_runnerZosfamilyZinit_cmd)�self�nameZcfg�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__Zsystemd_hostname_conf_fnr Zsystemd_locale_conf_fnZresolve_conf_fnr Znetwork_conf_fn�NETWORK_FILE_HEADERZrenderer_configsZprefer_fqdnr r r
r
r
r r s ���
r )ZloggingZ cloudinitr Zcloudinit.distrosr Zcloudinit.net.netplanr Z getLoggerr ZLOGr r r
r
r
r �<module> s