a '¡DgÌã@sPddlZddlmZddlmZddlmZe e¡Z dZ Gdd„dej ƒZ dS)é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@sTeZdZdZdZdZdZdeiZeedœede ddœd œZ d Z d d „Z d d„Z dS)ÚDistroz /etc/hostnamez/etc/systemd/network/z/etc/locale.confz/etc/systemd/resolved.confÚnetplan)Zresolv_conf_fnÚnetwork_conf_dirÚTrue)Z netplan_pathZnetplan_headerZpostcmds)ZnetworkdrTcCs0tj ||||¡t |¡|_d|_dg|_dS)NZmarinerZ systemctl)rrÚ__init__rZRunnersZ_runnerZosfamilyZinit_cmd)ÚselfÚnameZcfgÚpaths©r ú=/usr/lib/python3.9/site-packages/cloudinit/distros/mariner.pyr ,s zDistro.__init__cCsdS)Nz 127.0.0.1r )r r r rÚ_get_localhost_ip5szDistro._get_localhost_ipN)Ú__name__Ú __module__Ú __qualname__Zsystemd_hostname_conf_fnrZsystemd_locale_conf_fnZresolve_conf_fnrZnetwork_conf_fnÚNETWORK_FILE_HEADERZrenderer_configsZ prefer_fqdnr rr r r rrs þýû  r) ZloggingZ cloudinitrZcloudinit.distrosrZcloudinit.net.netplanrZ getLoggerrZLOGrrr r r rÚs