Fix validation in manila-image-create

This commit is contained in:
Igor Malinovskiy 2015-06-10 15:18:49 +03:00
parent 2bd4f201a3
commit add7e2ccd0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ REQUIRED_ELEMENTS="manila-ssh vm $MANILA_IMG_OS dhcp-all-interfaces cleanup-kern
OPTIONAL_ELEMENTS=
OPTIONAL_DIB_ARGS=
if [ "$MANILA_ENABLE_CIFS_SUPPORT" != "yes" && "$MANILA_ENABLE_CIFS_SUPPORT" = "yes" ]; then
if [ "$MANILA_ENABLE_CIFS_SUPPORT" != "yes" && "$MANILA_ENABLE_NFS_SUPPORT" != "yes" ]; then
echo "You should enable NFS or CIFS support for manila image."
fi