�
܍~c� � �t � d dl mZ d dl mZ d dlmZ ej e� � ZdZ G d� dej
� � Z
dS )� )�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 �Z � e Zd ZdZdZdZdZddiZeed�ed edd �d
�Z dZ
d� Zd
� ZdS )�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 � � t j � | |||� � t j |� � | _ d| _ dg| _ d S )N�mariner� systemctl)r r �__init__r �Runners�_runner�osfamily�init_cmd)�self�name�cfg�pathss �;/usr/lib/python3/dist-packages/cloudinit/distros/mariner.pyr zDistro.__init__- sE � ��
���t�T�3��6�6�6� ��u�-�-���!��
�$�
��
�
�
� c � � dS )Nz 127.0.0.1� )r s r �_get_localhost_ipzDistro._get_localhost_ip6 s � ��{r N)
�__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� � � � � � �.��.��/��2�O� �"C�D�O� .� 0�
�
�
,�I�6�1��
�
�
�
�� �K�&� &� &�� � � � r r N)� cloudinitr r �logging�cloudinit.distrosr � getLoggerr! �LOGr( r r r r �<module>r0 s� �� � � � � � � $� $� $� $� $� $� $� $� $� $� $� $��g���!�!��� � � � � � �V�]� � � � � r |