summaryrefslogtreecommitdiff
diff options
-rw-r--r--units/submission/jobs.pxu6
1 files changed, 2 insertions, 4 deletions
diff --git a/units/submission/jobs.pxu b/units/submission/jobs.pxu
index a2f5382..b433fd3 100644
--- a/units/submission/jobs.pxu
+++ b/units/submission/jobs.pxu
@@ -22,10 +22,8 @@ requires:
dmi_present.state == 'supported'
user: root
command:
- dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode | \
- jq '[.[0]._attributes +
- {"category": .[0].category}, .[1]._attributes +
- {"category": .[1].category}]'
+ dmidecode | python3 -m plainbox dev parse dmidecode | \
+ jq '[.[] | ._attributes + {"category": .category}]'
estimated_duration: 1
_description: Attaches dmidecode output
_summary: Attaches json dumps of udev_resource raw dmi devices