U
    L¬÷dß  ã                   @   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)Zresolv_conf_fnÚnetwork_conf_dirÚTrue)Znetplan_pathZnetplan_headerZpostcmds)Znetworkdr   Tc                 C   s0   t j | |||¡ t |¡| _d| _dg| _d S )NZmarinerZ	systemctl)r   r   Ú__init__r   ZRunnersZ_runnerZosfamilyZinit_cmd)ÚselfÚnameZ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__Zsystemd_hostname_conf_fnr   Zsystemd_locale_conf_fnZresolve_conf_fnZnetwork_conf_fnÚNETWORK_FILE_HEADERZrenderer_configsZprefer_fqdnr	   r   r   r   r   r   r      s    þýû	r   N)Z	cloudinitr   r   ZloggingZcloudinit.distrosr   Z	getLoggerr   ZLOGr   r   r   r   r   r   Ú<module>   s
   
	