From 24b6e7cbf0d7fce8f17d5ec03a49bce457a6ed0f Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Wed, 27 Mar 2024 15:30:43 +0300 Subject: [PATCH] Tell Git to use LF eol for .sh files Without this, `vagrant up` fails on Windows: containerd-linux: /tmp/vagrant-shell: ./setup.sh: /bin/bash^M: bad interpreter: No such file or directory The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfdb8b7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf