o
    wÚ7eß  ã                   @   sH   d dl mZ d dl mZ d dlmZ e e¡ZdZ	G dd„ dej
ƒZ
dS )é    )Úhelpers)Úlog)Úphotona6  # 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 Zd ZdZdZdZdZddiZeedœed edd	œd
œZ	dZ
dd„ Zdd„ ZdS )ÚDistroz/etc/hostnamez/etc/systemd/network/z/etc/locale.confz/etc/systemd/resolved.confÚnetplanz/etc/netplan/50-cloud-init.yaml)Úresolv_conf_fnÚnetwork_conf_dirÚTrue)Únetplan_pathÚnetplan_headerÚpostcmds)Únetworkdr   Tc                 C   s0   t j | |||¡ t |¡| _d| _dg| _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   zDistro.__init__c                 C   s   dS )Nz	127.0.0.1r   )r   r   r   r   Ú_get_localhost_ip6   s   zDistro._get_localhost_ipN)Ú__name__Ú
__module__Ú__qualname__Úsystemd_hostname_conf_fnr   Úsystemd_locale_conf_fnÚresolve_conf_fnÚnetwork_conf_fnÚNETWORK_FILE_HEADERÚrenderer_configsÚprefer_fqdnr   r   r   r   r   r   r      s"    þýû	r   N)Ú	cloudinitr   r   ÚloggingÚcloudinit.distrosr   Ú	getLoggerr   ÚLOGr#   r   r   r   r   r   Ú<module>   s   
	