adlogix / docker-machine-nfs

Activates NFS on docker-machine
MIT License
794 stars 104 forks source link

Use printf in favor of echo for reproducibility #83

Closed mouadino closed 6 years ago

mouadino commented 6 years ago

In my machine, echo will lead to literally having \n in /etc/exports file which will lead the nfs server to fail starting, this is due to the echo version that I have locally, while printf doesn't have this issue as explained here: https://stackoverflow.com/questions/8467424/echo-newline-in-bash-prints-literal-n

tonivdv commented 6 years ago

Thanks.