diff options
author | Maxim Devaev <[email protected]> | 2024-07-27 14:07:26 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-07-27 14:07:26 +0300 |
commit | 7e42d320076eec94adf1d42ecca361bd38275feb (patch) | |
tree | 201e3286a6a2fa879dbf574d1e2357946d7aac11 /kvmd/apps/__init__.py | |
parent | 6a665cd62fc317c62cb2486f701f4dc7ef2de29d (diff) |
pikvm/pikvm#1342: Verbose platform info in /api/info
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 25279be5..035b3cc4 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -382,6 +382,7 @@ def _get_config_scheme() -> dict: "meta": Option("/etc/kvmd/meta.yaml", type=valid_abs_file), "extras": Option("/usr/share/kvmd/extras", type=valid_abs_dir), "hw": { + "platform": Option("/usr/share/kvmd/platform", type=valid_abs_file, unpack_as="platform_path"), "vcgencmd_cmd": Option(["/usr/bin/vcgencmd"], type=valid_command), "ignore_past": Option(False, type=valid_bool), "state_poll": Option(5.0, type=valid_float_f01), |