You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on a Windows 7 host currently, I'm getting the following error when provisioning the Vagrant box:
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: /tmp/vagrant-shell: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory
Likewise, if I vagrant ssh and run ./install.sh manually...
vagrant@roundware-server:/vagrant$ ./install.sh
-bash: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory
This happens because line-ending normalization is enabled on my machine: the files are being checked out with CR+LF line-endings. Given that most (proper) Windows code editors should handle LF line-endings without CR, we should consider forcing LF line-endings in some manner, or perhaps put a small note in the readme regarding this issue.
Working on a Windows 7 host currently, I'm getting the following error when provisioning the Vagrant box:
Likewise, if I
vagrant ssh
and run./install.sh
manually...This happens because line-ending normalization is enabled on my machine: the files are being checked out with CR+LF line-endings. Given that most (proper) Windows code editors should handle LF line-endings without CR, we should consider forcing LF line-endings in some manner, or perhaps put a small note in the readme regarding this issue.
Links:
The text was updated successfully, but these errors were encountered: