summaryrefslogtreecommitdiff
path: root/jobs
diff options
Diffstat (limited to 'jobs')
-rw-r--r--jobs/disk.txt.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in
index 446ce79..33a6dbc 100644
--- a/jobs/disk.txt.in
+++ b/jobs/disk.txt.in
@@ -1,7 +1,13 @@
+# This is for bin/disk_info
+unit: packaging meta-data
+os-id: debian
+Depends: lshw
+
plugin: shell
id: disk/detect
estimated_duration: 0.25
-command: udev_resource | filter_templates -w "category=DISK" | awk -F': ' '$1 == "product" { print $2 }'
+user: root
+command: disk_info
_description: Detects and displays disks attached to the system.
unit: template