mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2006 from jo-m/master
Enable SSH Agent forwarding in Vagrant VM
This commit is contained in:
commit
b081a740b3
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