summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2021-09-21 17:09:53 +0200
committerSimon Rettberg2021-09-21 17:10:15 +0200
commit43127cc5c02a368ca5c45b4d6b67e08243394bec (patch)
treeaa6f5f92cb44cbecc4958844cb19d52546aa94aa /core/modules/hardware-stats
parent[hardware-stats] Include new json-based hw reporting (diff)
downloadmltk-43127cc5c02a368ca5c45b4d6b67e08243394bec.tar.gz
mltk-43127cc5c02a368ca5c45b4d6b67e08243394bec.tar.xz
mltk-43127cc5c02a368ca5c45b4d6b67e08243394bec.zip
[hardware-stats] Add missing -p option to hwstats
Diffstat (limited to 'core/modules/hardware-stats')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report b/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report
index bc050628..3fd9ffe5 100755
--- a/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report
+++ b/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report
@@ -55,7 +55,7 @@ report_hardware_info() {
subnet="$( ip -o -f inet addr show "$primary" | awk '/scope global/ {print $4}' )"
# Finally, new json-based reporting
jsonfile="$( mktemp )"
- if ! python3 /opt/openslx/system-check/collect_hw_info_json.py > "$jsonfile"; then
+ if ! python3 /opt/openslx/system-check/collect_hw_info_json.py -p > "$jsonfile"; then
echo -n "" > "$jsonfile"
fi
# just assume the uuid/mac dumped are valid here (its checked often enough :))