diff options
author | Simon Rettberg | 2021-09-21 17:09:53 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-09-21 17:10:15 +0200 |
commit | 43127cc5c02a368ca5c45b4d6b67e08243394bec (patch) | |
tree | aa6f5f92cb44cbecc4958844cb19d52546aa94aa /core/modules/hardware-stats | |
parent | [hardware-stats] Include new json-based hw reporting (diff) | |
download | mltk-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-x | core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report | 2 |
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 :)) |