OXIESEC PANEL
- Current Dir:
/
/
snap
/
core24
/
988
/
usr
/
lib
/
python3
/
dist-packages
/
cloudinit
/
cmd
/
devel
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
__init__.py
899 bytes
01/15/2025 03:24:11 PM
rw-r--r--
📁
__pycache__
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
hotplug_hook.py
11.38 KB
04/02/2025 03:09:15 PM
rw-r--r--
📄
logs.py
13.87 KB
01/15/2025 03:24:11 PM
rw-r--r--
📄
make_mime.py
4.09 KB
01/15/2025 03:24:11 PM
rw-r--r--
📄
net_convert.py
5.57 KB
01/15/2025 03:24:11 PM
rw-r--r--
📄
parser.py
1.35 KB
01/15/2025 03:24:11 PM
rw-r--r--
📄
render.py
3.68 KB
01/15/2025 03:24:11 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