
    x[h                         S SK r S SKJr  S SKJr  S SKJr  \ R                  " \5      r	Sr
 " S S\R                  5      rg)    N)helpers)photon)CLOUDINIT_NETPLAN_FILEa6  # 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    \ rS rSrSrSrSrSrS\0r	\\S.\	S   \
SS	.S
.rSrS rS rSrg)Distro   z/etc/hostnamez/etc/systemd/network/z/etc/locale.confz/etc/systemd/resolved.confnetplan)resolv_conf_fnnetwork_conf_dirTrue)netplan_pathnetplan_headerpostcmds)networkdr	   Tc                     [         R                  R                  XX#5        [        R                  " U5      U l        SU l        S/U l        g )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   Distro.__init__,   s8    t36 u-!$    c                     g)Nz	127.0.0.1 )r   s    r   _get_localhost_ipDistro._get_localhost_ip5   s    r   )r   r   r   N)__name__
__module____qualname____firstlineno__systemd_hostname_conf_fnr   systemd_locale_conf_fnresolve_conf_fnr   network_conf_fnNETWORK_FILE_HEADERrenderer_configsprefer_fqdnr   r"   __static_attributes__r!   r   r   r   r      s_    ../2O "89O . 0

 ,I61

 K&r   r   )logging	cloudinitr   cloudinit.distrosr   cloudinit.net.netplanr   	getLoggerr$   LOGr,   r   r!   r   r   <module>r6      s;   
   $ 8!  V]]  r   