diff options
Diffstat (limited to 'deployment/heat/onap-oom/rancher_vm_entrypoint.sh')
-rw-r--r-- | deployment/heat/onap-oom/rancher_vm_entrypoint.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh index 578cb5129..2f09f69a0 100644 --- a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh +++ b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh @@ -47,8 +47,12 @@ apt-get -y update apt-get -y install linux-image-extra-$(uname -r) jq make nfs-kernel-server +# use RAM disk for /dockerdata-nfs for testing +echo "tmpfs /dockerdata-nfs tmpfs noatime,fsid=1 1 2" >> /etc/fstab +mkdir -pv /dockerdata-nfs +mount /dockerdata-nfs + # version control the persistence volume to see what's happening -mkdir -p /dockerdata-nfs/ chmod 777 /dockerdata-nfs/ chown nobody:nogroup /dockerdata-nfs/ cd /dockerdata-nfs/ |