OXIESEC PANEL
- Current Dir:
/
/
snap
/
core24
/
1055
/
usr
/
lib
/
python3
/
dist-packages
/
cloudinit
/
cmd
/
devel
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/18/2025 08:10:57 PM
rwxr-xr-x
📄
__init__.py
899 bytes
04/17/2025 06:53:20 PM
rw-r--r--
📁
__pycache__
-
06/18/2025 08:10:57 PM
rwxr-xr-x
📄
hotplug_hook.py
11.38 KB
04/17/2025 06:53:20 PM
rw-r--r--
📄
logs.py
13.87 KB
04/17/2025 06:53:20 PM
rw-r--r--
📄
make_mime.py
4.09 KB
04/17/2025 06:53:20 PM
rw-r--r--
📄
net_convert.py
5.57 KB
04/17/2025 06:53:20 PM
rw-r--r--
📄
parser.py
1.35 KB
04/17/2025 06:53:20 PM
rw-r--r--
📄
render.py
3.68 KB
04/17/2025 06:53:20 PM
rw-r--r--
Editing: __init__.py
Close
# 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