summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Harney <eharney@redhat.com>2016-04-06 12:24:42 -0400
committerEric Harney <eharney@redhat.com>2016-04-06 12:25:15 -0400
commitb8aa9d32e494aa675b97ad5af7b37dbdaed6b666 (patch)
treedb44234c3bc537977b219afc0665e02dac2255a1
parent217010a78a8af5fdff095471c9af131dc2598212 (diff)
Chown NFS export dir to $STACK_USER
Cinder expects to be able to write here. Change-Id: I5b014e9d1770286c1099dfdaa1477ec66886b996
Notes
Notes (review): Code-Review+1: Sharath Rao <sharath.rao@ericsson.com> Code-Review+2: Eric Harney <eharney@redhat.com> Workflow+1: Eric Harney <eharney@redhat.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 06 Apr 2016 20:07:25 +0000 Reviewed-on: https://review.openstack.org/302347 Project: openstack/devstack-plugin-nfs Branch: refs/heads/master
-rw-r--r--devstack/plugin.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 4c15289..3d82790 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -29,6 +29,8 @@ function install_nfs {
29 29
30function configure_nfs { 30function configure_nfs {
31 sudo mkdir -p $NFS_EXPORT_DIR 31 sudo mkdir -p $NFS_EXPORT_DIR
32 sudo chown $STACK_USER $NFS_EXPORT_DIR
33
32 sudo mkdir -p /etc/exports.d 34 sudo mkdir -p /etc/exports.d
33 35
34 cat <<EOF | sudo tee ${STACK_NFS_CONF}>/dev/null 36 cat <<EOF | sudo tee ${STACK_NFS_CONF}>/dev/null