/usr/lib/python3/dist-packages/cloudinit/__pycache__
NameSizeModeActions
apport.cpython-310.pyc73170644editdlrm
atomic_helper.cpython-310.pyc28780644editdlrm
cloud.cpython-310.pyc31990644editdlrm
dmi.cpython-310.pyc63100644editdlrm
event.cpython-310.pyc20760644editdlrm
features.cpython-310.pyc16680644editdlrm
gpg.cpython-310.pyc69120644editdlrm
helpers.cpython-310.pyc136850644editdlrm
importer.cpython-310.pyc17760644editdlrm
lifecycle.cpython-310.pyc83840644editdlrm
netinfo.cpython-310.pyc140660644editdlrm
performance.cpython-310.pyc36670644editdlrm
persistence.cpython-310.pyc29310644editdlrm
registry.cpython-310.pyc14820644editdlrm
safeyaml.cpython-310.pyc79310644editdlrm
settings.cpython-310.pyc11850644editdlrm
signal_handler.cpython-310.pyc26890644editdlrm
simpletable.cpython-310.pyc26880644editdlrm
socket.cpython-310.pyc47440644editdlrm
ssh_util.cpython-310.pyc158150644editdlrm
stages.cpython-310.pyc275610644editdlrm
subp.cpython-310.pyc99720644editdlrm
templater.cpython-310.pyc63740644editdlrm
temp_utils.cpython-310.pyc28370644editdlrm
type_utils.cpython-310.pyc4710644editdlrm
url_helper.cpython-310.pyc291510644editdlrm
user_data.cpython-310.pyc85150644editdlrm
util.cpython-310.pyc708780644editdlrm
version.cpython-310.pyc4660644editdlrm
warnings.cpython-310.pyc33760644editdlrm
__init__.cpython-310.pyc1450644editdlrm
Edit: /usr/lib/python3/dist-packages/cloudinit/__pycache__/warnings.cpython-310.pyc (3376B)
o th @s\ddlZddlZddlZddlmZmZeeZdddZ ddZ d d d Z dd d Z dS)N)helpersutila' This system is using the EC2 Metadata Service, but does not appear to be running on Amazon EC2 or one of cloud-init's known platforms that provide a EC2 Metadata service. In the future, cloud-init may stop reading metadata from the EC2 Metadata Service unless the platform can be identified. If you are seeing this message, please file a bug against cloud-init at https://github.com/canonical/cloud-init/issues Make sure to include the cloud provider your instance is running on. For more information see https://github.com/canonical/cloud-init/issues/2795 After you have filed a bug, you can disable this warning by launching your instance with the cloud-config below, or putting that content into /etc/cloud/cloud.cfg.d/99-ec2-datasource.cfg #cloud-config datasource: Ec2: strict_id: falsea A new feature in cloud-init identified possible datasources for this system as: {dslist} However, the datasource used was: {source} In the future, cloud-init will only attempt to use datasources that are identified or specifically configured. For more information see https://bugs.launchpad.net/bugs/1669675 If you are seeing this message, please file a bug against cloud-init at https://github.com/canonical/cloud-init/issues Make sure to include the cloud provider your instance is running on. After you have filed a bug, you can disable this warning by launching your instance with the cloud-config below, or putting that content into /etc/cloud/cloud.cfg.d/99-warnings.cfg #cloud-config warnings: dsid_missing_source: off) non_ec2_mddsid_missing_sourcecCs&tj|didid}|dS)N system_infopaths) path_cfgswarnings)rPathsget get_ipath_cur)cfgrr4/usr/lib/python3/dist-packages/cloudinit/warnings.py _get_warn_dir?s rTcCs||f}|r t|ts |St|d|f}|dur|S|dvr!dS|dvr'dS|d\}}}|dkr5|S|rLz t|}Wd|fStyK|YSwd|fS) Nr )ontrueTTN)offfalseF)FN,sleepT) isinstancedictrget_cfg_by_path partitionint ValueError)r namemoderdefaultncfg_csleeprrr_load_warn_cfgFs*  r$cKs|duri}t||||d\}}|sdSt|jd i|}d}|d}d|}d|d} g} |dD] } | || q7| } |rQd|} | |dd} tt j t ||| d | d| t d| d | | |rt d ||t|dSdS) N)rrFz # %%-%ds #* z [sleeping for %d seconds] z%s%s %sz$sleeping %d seconds for warning '%s'r)r$WARNINGSformatstrip splitlinesappendcenterr write_fileospathjoinrLOGwarningdebugtimer)rr rrkwargsmsgmsgwidth linewidthfmttoplinefmtlinesline closelinesleepmsgrrr show_warningfs4 rAr)NNT) loggingr0r6 cloudinitrr getLogger__name__r3r)rr$rArrrrs 5