Enable SSH Agent forwarding in Vagrant VM, so one is able to clone repos from private git repos etc.

Upstream-commit: 8f5c33dc1f923bb8478524be4f10581685e5d359
Component: engine
This commit is contained in:
Jonathan Mueller
2013-09-25 22:57:04 +02:00
parent 07130a5623
commit f59e96fe69

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?