summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-volume/files/losetup.sh
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-22 16:18:26 +0800
committerJustin chi <chigang@huawei.com>2015-12-23 01:18:51 +0000
commitff1acb9305e5e13239a6ba7a30e99f8aa673514e (patch)
tree236bdabd23ba37b7c8f6965f936bbc0c9796629b /deploy/adapters/ansible/roles/cinder-volume/files/losetup.sh
parent771c919d4aae01758ed54220288f12e4f64e35c7 (diff)
cinder volume use the vg created by storage role
JIRA: COMPASS-211 Change-Id: I6c6ec36bf015c663bd684ac8f48011397851877b Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-volume/files/losetup.sh')
-rw-r--r--deploy/adapters/ansible/roles/cinder-volume/files/losetup.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-volume/files/losetup.sh b/deploy/adapters/ansible/roles/cinder-volume/files/losetup.sh
deleted file mode 100644
index 1f0b2b0e..00000000
--- a/deploy/adapters/ansible/roles/cinder-volume/files/losetup.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-loop_dev=`losetup -a |grep "/var/cinder.img"|awk -F':' '{print $1}'`
-if [ -z $loop_dev ]; then
- losetup -f --show /var/cinder.img
-else
- echo $loop_dev
-fi
-