Chown NFS export dir to $STACK_USER

Cinder expects to be able to write here.

Change-Id: I5b014e9d1770286c1099dfdaa1477ec66886b996
This commit is contained in:
Eric Harney 2016-04-06 12:24:42 -04:00
parent 217010a78a
commit b8aa9d32e4
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ function install_nfs {
function configure_nfs {
sudo mkdir -p $NFS_EXPORT_DIR
sudo chown $STACK_USER $NFS_EXPORT_DIR
sudo mkdir -p /etc/exports.d
cat <<EOF | sudo tee ${STACK_NFS_CONF}>/dev/null