From 43127cc5c02a368ca5c45b4d6b67e08243394bec Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 21 Sep 2021 17:09:53 +0200 Subject: [hardware-stats] Add missing -p option to hwstats --- .../data/opt/openslx/system-check/hooks.d/50-hardware-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/hardware-stats') 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 :)) -- cgit v1.2.3-55-g7522