diff options
-rw-r--r-- | units/submission/jobs.pxu | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/units/submission/jobs.pxu b/units/submission/jobs.pxu index a21c8970..15654091 100644 --- a/units/submission/jobs.pxu +++ b/units/submission/jobs.pxu @@ -5,7 +5,7 @@ requires: package.name == 'dkms' command: dkms_info --format json | python3 -m plainbox dev parse dkms-info | \ - jq --indent 4 '.dkms_info' + jq '.dkms_info' _description: Attaches json dumps of installed dkms package information. _summary: Attaches json dumps of installed dkms package information. @@ -24,9 +24,9 @@ requires: user: root command: dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode | \ - jq --indent 4 '[.[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 @@ -36,7 +36,7 @@ plugin: attachment category_id: com.canonical.plainbox::info command: find /etc/modprobe.* -name \*.conf | xargs cat | python3 -m plainbox dev parse modprobe | - jq --indent 4 'to_entries | map({"module": .key, "options": .value})' + jq 'to_entries | map({"module": .key, "options": .value})' estimated_duration: 0.015 _description: Attaches the contents of the various modprobe conf files. _summary: Attach the contents of /etc/modprobe.* @@ -47,7 +47,7 @@ plugin: attachment category_id: com.canonical.plainbox::info command: lspci -x | python3 -m plainbox dev parse pci-subsys-id | \ - jq --indent 4 '.pci_subsystem_id' + jq '.pci_subsystem_id' estimated_duration: 0.1 _description: Attaches a hex dump of the standard part of the PCI configuration space for all PCI devices. |