Closed genei09 closed 7 years ago
Something sounds odd about your shell environment that others are not seeing. Those "-e" are a switch for bash echo to enable interpretation so that things like "\n" can be used.
I haven't done anything special to the shell environment. example output after removing etc/d4m-nfs-mounts.txt
sh d4m-nfs.sh
Copy the Moby VM APK Cache back
Create the script for Moby VM
-e Start and restop nfsd, for some reason restart is not as kind.
Stopping the nfsd service (use 'disable' to make permanent)
Starting the nfsd service
-n Wait until NFS is setup.
-n .
-ne
Wait until D4M is running.
-e
Copy back the APK cache
cp: /tmp/d4m-apk-cache/*: No such file or directory
using the d4m-nfs-mount.txt file or not, I see nothing from the OSx FS in the Alpine VM
Please call it like ./d4m-nfs.sh you are effecting the environment by having it in another shell.
I had to restart d4m a few times and rerun the script a few times but eventually it started working.
Thanks!
Great to hear it is working!
Probably re-running it a few times help clear out hung networking. I am going to close out this issue.
on initial run the script places a line in the /etc/exports file that causes it to error: -e # d4m-nfs exports
after removing the -e from the file during the run several more echos of -e and -n are seen.
Ultimately nothing is mounted into the Alpine VM, but the directory names are seen of what I attempted to specify in the file