Closed roblabla closed 3 years ago
I'm using it in linux too, but I have to manually apply https://github.com/hashicorp/vagrant/pull/9948 (using the https://patch-diff.githubusercontent.com/raw/hashicorp/vagrant/pull/9948.patch file) to my local vagrant installation.
I still haven't gotten around for fleshing out the unit tests needed for that PR to be merged in vagrant.
The environment in this repo copies a file to the host vagrant share:
That file is used by other environments (e.g. https://github.com/rgl/gitlab-vagrant), so I have to keep using SMB.
~Though, I can merge the PR when you change it to be something alike:~ Actually this will not work... the ubuntu test node also needs to access tmp/ExampleEnterpriseRootCA.der
, so this is a no go for me.
if ENV['VAGRANT_SMB_PASSWORD']
... smb line
else
... rsync line
end
Ah, awesome. I don't personally use the ubuntu test node, so I guess I'll keep doing this locally.
Having a bit in the README to let people know they need a custom vagrant build with https://github.com/hashicorp/vagrant/pull/9948 on linux would probably be helpful ^^.
smb
sync folder method only works on windows and MacOS host machines, according to this, causing the build to fail. Using rsync works without issues.