Do not need recreate VG after reboot 15/8815/2
authorgrakiss <grakiss.wanglei@huawei.com>
Fri, 29 Jan 2016 01:17:35 +0000 (09:17 +0800)
committershuai chen <chenshuai@huawei.com>
Mon, 1 Feb 2016 09:16:19 +0000 (09:16 +0000)
JIRA:COMPASS-291
  - after reboot losetup the image,and then VG is automatically ok, do not need recreate VG

Change-Id: Ia79e74d9bfbd29c70f58a2ca8cb604c2f2d0aace
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
(cherry picked from commit b05a3be68a3cbb9f2e93695ae43838ce95e10570)

deploy/adapters/ansible/roles/storage/files/storage

index 9ef9a65..775e8fd 100755 (executable)
@@ -1,3 +1,2 @@
 #! /bin/bash
 loop_dev=`sh /opt/setup_storage/losetup.sh`
-vgcreate --force storage-volumes $loop_dev