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:
2
components/engine/Vagrantfile
vendored
2
components/engine/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?
|
||||
|
||||
Reference in New Issue
Block a user