1
0
Fork 0
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:
Jonathan Mueller 2013-09-25 22:57:04 +02:00
parent 06c1f000e8
commit 8f5c33dc1f

2
Vagrantfile vendored
View file

@ -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?