HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/core20/2599/lib/python3/dist-packages/cloudinit/distros/__pycache__/mariner.cpython-38.pyc
U

Ӈg��@sPddlZddlmZddlmZddlmZe�e�Z	dZ
Gdd�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@sTeZdZdZdZdZdZdeiZeed�ede	dd�d	�Z
d
Zdd�Zd
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)Znetplan_pathZnetplan_headerZpostcmds)ZnetworkdrTcCs0tj�||||�t�|�|_d|_dg|_dS)NZmarinerZ	systemctl)rr�__init__rZRunnersZ_runnerZosfamilyZinit_cmd)�self�nameZcfg�paths�r
�;/usr/lib/python3/dist-packages/cloudinit/distros/mariner.pyr	,szDistro.__init__cCsdS)Nz	127.0.0.1r
)r
r
r
r�_get_localhost_ip5szDistro._get_localhost_ipN)�__name__�
__module__�__qualname__Zsystemd_hostname_conf_fnrZsystemd_locale_conf_fnZresolve_conf_fnrZnetwork_conf_fn�NETWORK_FILE_HEADERZrenderer_configsZprefer_fqdnr	rr
r
r
rrs ���
	r)ZloggingZ	cloudinitrZcloudinit.distrosrZcloudinit.net.netplanrZ	getLoggerrZLOGrrr
r
r
r�<module>s