| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/cloudinit/cmd/devel/__pycache__/ |
Upload File : |
a
'�Dg� � @ s2 d Z ddlmZ ddlmZ d eed�dd�ZdS )
z7Common cloud-init devel command line utility functions.� )�Paths)�Init� )�fetch_existing_datasource�returnc C s( t g d�}| r|j| d� |�� |jS )a� Return a Paths object based on the system configuration on disk.
:param fetch_existing_datasource: String one of check or trust. Whether to
load the pickled datasource before returning Paths. This is necessary
when using instance paths via Paths.get_ipath method which are only
known from the instance-id metadata in the detected datasource.
:raises: DataSourceNotFoundException when no datasource cache exists.
)Zds_deps)�existing)r ZfetchZread_cfg�paths)r �init� r
�@/usr/lib/python3.9/site-packages/cloudinit/cmd/devel/__init__.py�read_cfg_paths s
r N)r )�__doc__Zcloudinit.helpersr Zcloudinit.stagesr �strr r
r
r
r �<module> s