It looks like you disable the default sync folder on Windows. This would
mean the `/vagrant` files will not be available while they will be on
non-Windows environments.
I find it generally best to copy all provisioning scripts explicitly
onto the guest machine, then run them locally. This avoids this sort of
mismatched environment.
On 9 Aug 2019, at 18:01, Micky Hulse wrote:
Hello,
I had a coworker run my Vagrant CentOS setup on his windows box.
He ended up getting this:
==> default: Configuring and enabling network interfaces...
==> default: Running provisioner: shell...
default: Running: inline script
default: NETWORK IP: 172.28.128.3
==> default: Running provisioner: shell...
default: Running:
C:/Users/ddd/.babun/cygwin/tmp/vagrant-shell20190809-12720-1ots9lj.sh
default: /tmp/vagrant-shell: line 13:
/vagrant/bootstrap/functions.sh: No such file or directory
default: /tmp/vagrant-shell: line 14:
/vagrant/bootstrap/profile.sh: No such file or directory
default: /tmp/vagrant-shell: line 15:
/vagrant/bootstrap/firewall.sh: No such file or directory
default: /tmp/vagrant-shell: line 16: /vagrant/bootstrap/nano.sh:
No such file or directory
default: /tmp/vagrant-shell: line 17: /vagrant/bootstrap/git.sh:
No such file or directory
default: /tmp/vagrant-shell: line 18: /vagrant/bootstrap/mysql.sh:
No such file or directory
default: /tmp/vagrant-shell: line 19: /vagrant/bootstrap/http.sh:
No such file or directory
default: /tmp/vagrant-shell: line 21: /vagrant/bootstrap/node.sh:
No such file or directory
default: /tmp/vagrant-shell: line 22: /vagrant/bootstrap/php.sh:
No such file or directory
default: /tmp/vagrant-shell: line 23:
/vagrant/bootstrap/phpmyadmin.sh: No such file or directory
default: /tmp/vagrant-shell: line 24:
/vagrant/bootstrap/composer.sh: No such file or directory
default: /tmp/vagrant-shell: line 26: /vagrant/bootstrap/ruby.sh:
No such file or directory
default: /tmp/vagrant-shell: line 27:
/vagrant/bootstrap/mailcatcher.sh: 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.
Here's my vagrant setup (provisioning scripts at bottom, in this case
it's the bootstrap one):
https://github.com/mhulse/vagrant-latmp/blob/master/Vagrantfile
And here is the bootstrap entry point for the other "source" shell
files:
https://github.com/mhulse/vagrant-latmp/blob/master/vagrant/bootstrap/init.sh
On my mac, this works without a hitch. On his windows box, using babun
and powershell, I get the above errors.
Any tips on how to homogenize the sourcing of my provisioning scripts
to make this mac/windows-agnostic?
Thanks so much!
--
This mailing list is governed under the HashiCorp Community Guidelines
- https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this
mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google
Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAKzdcNmuNDfQ6h%2BJb1tFCf4S53eTD5bKJZK90jUEHbXTe96T2Q%40mail.gmail.com.
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/F84AA477-60C6-43B9-9E33-B0EBA33771C9%40gmail.com.