
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
3
\me                 @   sD   d dl Z d dlmZ d dlmZ e jeZdZG dd dej	Z	dS )    N)helpers)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j| ||| tj|| _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.6/mariner.pyr   +   s    zDistro.__init__c             C   s   dS )Nz	127.0.0.1r   )r	   r   r   r   _get_localhost_ip4   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   )
ZloggingZ	cloudinitr   Zcloudinit.distrosr   Z	getLoggerr   ZLOGr   r   r   r   r   r   <module>   s
   
