File: //lib/python3.6/site-packages/cloudinit/distros/__pycache__/mariner.cpython-36.pyc
3
\�me� � @ sD d dl Z d dlmZ d dlmZ e je�ZdZG dd� dej �Z dS )� 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 Zd ZdZdZdZdZddiZeed�ed edd �d
�Z dZ
dd
� Zdd� ZdS )�Distroz
/etc/hostnamez/etc/systemd/network/z/etc/locale.confz/etc/systemd/resolved.conf�netplanz/etc/netplan/50-cloud-init.yaml)Zresolv_conf_fn�network_conf_dir�True)Znetplan_pathZnetplan_headerZpostcmds)Znetworkdr Tc C s0 t jj| |||� tj|�| _d| _dg| _d S )NZmarinerZ systemctl)r r �__init__r ZRunnersZ_runnerZosfamilyZinit_cmd)�self�nameZcfg�paths� r �/usr/lib/python3.6/mariner.pyr + s zDistro.__init__c C s dS )Nz 127.0.0.1r )r r r r
�_get_localhost_ip4 s zDistro._get_localhost_ipN)
�__name__�
__module__�__qualname__Zsystemd_hostname_conf_fnr Zsystemd_locale_conf_fnZresolve_conf_fnZnetwork_conf_fn�NETWORK_FILE_HEADERZrenderer_configsZprefer_fqdnr r r r r r
r s r )
ZloggingZ cloudinitr Zcloudinit.distrosr Z getLoggerr ZLOGr r r r r r
�<module> s