summaryrefslogtreecommitdiff
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2015-03-05 20:56:28 +0100
committerSylvain Pineau <sylvain.pineau@canonical.com>2015-03-05 20:56:28 +0100
commit19e95ac17b4e89c40476dbe7502262eb0489fca4 (patch)
tree2e1eed85273cbe75b73377c0d996cce93c61bcdb
parentb20d5df8d9d6d2b4205270139355514b514a5f45 (diff)
providers:checkbox:disks.txt.in: discard storage devices with an empty nameplainbox-provider-checkbox-v0.19c3plainbox-provider-checkbox-v0.19
Related to https://bugs.launchpad.net/plainbox-provider-resource/+bug/1428575 But does not really fix it, just avoid a plainbox template expansion error.
-rw-r--r--jobs/disk.txt.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in
index 7dff575..1fd3041 100644
--- a/jobs/disk.txt.in
+++ b/jobs/disk.txt.in
@@ -12,6 +12,7 @@ template-filter: device.category == 'DISK'
plugin: shell
id: staging/disk/stats_{name}
requires:
+ device.name != ''
block_device.{name}_state != 'removable'
user: root
command: disk_stats_test {name}