Fix an issue with setting tempest volume vendor_name with spaces

If the volume vendor has spaces in it, for example “Open Source”, we
need to have quotes around the uses of the variables or the behavior
will not be as expected.

Change-Id: Ie1e99b6d6de2313e5b5b5a5d3057c136c9b34601
This commit is contained in:
Patrick East 2014-10-22 16:22:47 -07:00
parent f367fd4dbc
commit 1c0628f83c

View File

@ -372,7 +372,7 @@ function configure_tempest {
fi
if [ $TEMPEST_VOLUME_DRIVER != "default" -o \
$TEMPEST_VOLUME_VENDOR != $TEMPEST_DEFAULT_VOLUME_VENDOR ]; then
"$TEMPEST_VOLUME_VENDOR" != "$TEMPEST_DEFAULT_VOLUME_VENDOR" ]; then
iniset $TEMPEST_CONFIG volume vendor_name "$TEMPEST_VOLUME_VENDOR"
fi
if [ $TEMPEST_VOLUME_DRIVER != "default" -o \