Commit 59493d2c authored by Jan Siersch's avatar Jan Siersch
Browse files

vg_cinder detection fixed

parent 16e4d557
......@@ -350,7 +350,7 @@ chkconfig neutron-openvswitch-agent on
# 9.2 Configure a Block Storage service node
# After you configure the services on the controller node, configure a second system to be a Block Storage service node.
if [ -e "/dev/vg_cinder" ]; then
if [[ -n $(vgs | grep vg_cinder) ]]; then
# This node contains the disk that serves volumes.
echo '"/dev/sdb" found, configuring block storage'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment