diff options
-rw-r--r-- | units/submission/jobs.pxu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/units/submission/jobs.pxu b/units/submission/jobs.pxu index f6f73bc..43defe3 100644 --- a/units/submission/jobs.pxu +++ b/units/submission/jobs.pxu @@ -22,9 +22,9 @@ requires: 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"}]' + jq '[.[0]._attributes + + {"category": .[0].category}, .[1]._attributes + + {"category": .[1].category}]' estimated_duration: 1 _description: Attaches dmidecode output _summary: Attaches json dumps of udev_resource raw dmi devices |