aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-03-25 22:06:52 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2018-03-29 16:08:07 -0700
commitdf3fdc4a5d0ca403428490c0c00ba65c087de84c (patch)
tree90efadfbfa2f8e835bf0be5bda4d5b213a0ea7be
parentbc9d71d2d272999fe4fc446dbcf6c81aae782a98 (diff)
add verbose to debug losetup delete
JIRA: YARDSTICK-1096 JIRA: YARDSTICK-1054 Change-Id: I5a11dbd2638782c5e499cb94dd5882b8bf696e8d Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
-rw-r--r--ansible/build_yardstick_image.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/build_yardstick_image.yml b/ansible/build_yardstick_image.yml
index 429ab88aa..06131f570 100644
--- a/ansible/build_yardstick_image.yml
+++ b/ansible/build_yardstick_image.yml
@@ -86,7 +86,7 @@
# use this because kpartx -dv will fail if raw_imgfile was delete
# but in theory we could have deleted file still attached to loopback device?
# use grep because of // and awk
- shell: losetup -O NAME,BACK-FILE | grep "{{ raw_imgfile_basename }}" | awk '{ print $1 }' | xargs -l1 losetup -d
+ shell: losetup -O NAME,BACK-FILE | grep "{{ raw_imgfile_basename }}" | awk '{ print $1 }' | xargs -l1 losetup -v -d
ignore_errors: true
- name: delete {{ raw_imgfile }}