aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat/onap-rke/nfs_vm_entrypoint.sh')
-rw-r--r--deployment/heat/onap-rke/nfs_vm_entrypoint.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/deployment/heat/onap-rke/nfs_vm_entrypoint.sh b/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
index b307023be..871998a72 100644
--- a/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
+++ b/deployment/heat/onap-rke/nfs_vm_entrypoint.sh
@@ -89,6 +89,9 @@ while ! hash jq &> /dev/null; do
sleep 10
done
+sed -i 's/RPCNFSDCOUNT=.*/RPCNFSDCOUNT=32/' /etc/default/nfs-kernel-server
+service nfs-kernel-server restart
+
nfs_volume_dev="/dev/disk/by-id/virtio-$(echo "__nfs_volume_id__" | cut -c -20)"
zpool create -f -m /dockerdata-nfs dockerdata-nfs $nfs_volume_dev