mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Enable SSH Agent forwarding in Vagrant VM, so one is able to clone repos from private git repos etc.
This commit is contained in:
parent
06c1f000e8
commit
8f5c33dc1f
1 changed files with 2 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -13,6 +13,8 @@ Vagrant::Config.run do |config|
|
|||
config.vm.box = BOX_NAME
|
||||
config.vm.box_url = BOX_URI
|
||||
|
||||
config.ssh.forward_agent = true
|
||||
|
||||
# Provision docker and new kernel if deployment was not done.
|
||||
# It is assumed Vagrant can successfully launch the provider instance.
|
||||
if Dir.glob("#{File.dirname(__FILE__)}/.vagrant/machines/default/*/id").empty?
|
||||
|
|
Loading…
Add table
Reference in a new issue