aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh
blob: 1d7c475eec70bde8f263d32c27862c502ee0df7a (plain)
1
2
3
4
5
6
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