summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMürsel Türk2022-10-05 14:13:05 +0200
committerMürsel Türk2022-10-05 14:13:05 +0200
commit6c84eb39b0e75117e6b289e2dfbd0a8617bebf72 (patch)
treed4d32e83d1a7322d0c5bb8f468ceb8cb9423fa40
parentAdd command-line options (diff)
downloadvm-inspector-6c84eb39b0e75117e6b289e2dfbd0a8617bebf72.tar.gz
vm-inspector-6c84eb39b0e75117e6b289e2dfbd0a8617bebf72.tar.xz
vm-inspector-6c84eb39b0e75117e6b289e2dfbd0a8617bebf72.zip
Fix output
-rwxr-xr-xinspect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/inspect.py b/inspect.py
index a6b6e34..5f1842f 100755
--- a/inspect.py
+++ b/inspect.py
@@ -121,7 +121,7 @@ unmount(image_mp)
rmdir(image_mp)
print({
- "os_name": os_info.get("name", ""),
- "os_version": os_info.get("name", ""),
+ "name": os_info.get("name", ""),
+ "version": os_info.get("version", ""),
"apps": apps
})