Open lcreid opened 5 years ago
The Vagrant provisioner can be told to copy a file from the host, but this would only work on Linux and MacOS, I fear. Needs further investigation.
As detailed here, git
on Windows expects an _netrc
file, not a .netrc
file. Ugh.
Should also get the RubyGems credentials, for publishing gems:
config.vm.provision "file", source: "~/.gem/credentials", destination: ".gem/credentials"
Also needs ~/.gitconfig
so the git command works.
Chandler requires your GitHub credentials in
~/.netrc
. One thing might be to provision the box's~
with.netrc
that contains/^machine +api\.github\.com/,//+2
from the host. Another possibility: figure out how to capture the credentials the first time, and store them in~/.netrc
.