From b7527a3c0b5ab0849a0c669cb345c6494628da8f Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Fri, 28 Feb 2014 09:11:11 -0500 Subject: cinder: enable nfs backend This patch enables multi-backend support (lvm-iscsi and nfs) on cinder-volume. This including changing cinder.conf, creating missing nfs_shares config file, and adding mount.nfs into compute node image. Signed-off-by: Vu Tran Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh (limited to 'meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh') diff --git a/meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh b/meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh new file mode 100644 index 0000000..1d7c475 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh @@ -0,0 +1,7 @@ +#! /bin/bash + +# Default setup +if [ "$1" == "1" ]; then + mkdir /etc/cinder/nfs_volumes + echo "/etc/cinder/nfs_volumes *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)" >> /etc/exports +fi -- cgit v1.2.3-54-g00ecf