From add7e2ccd0bd7c4e8eaa16cf47301eca9ed4e8e5 Mon Sep 17 00:00:00 2001 From: Igor Malinovskiy <u.glide@gmail.com> Date: Wed, 10 Jun 2015 15:18:49 +0300 Subject: [PATCH] Fix validation in manila-image-create --- bin/manila-image-create | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/manila-image-create b/bin/manila-image-create index a6f74b0..91c91d8 100644 --- a/bin/manila-image-create +++ b/bin/manila-image-create @@ -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