diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cinder/nfs_setup.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
| 1 | #! /bin/bash | ||
| 2 | |||
| 3 | # Default setup | ||
| 4 | if [ "$1" == "1" ]; then | ||
| 5 | mkdir /etc/cinder/nfs_volumes | ||
| 6 | echo "/etc/cinder/nfs_volumes *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)" >> /etc/exports | ||
| 7 | fi | ||
