[DRE-commits] [vagrant-libvirt] 16/77: Update connect_libvirt.rb

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:56:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.17
in repository vagrant-libvirt.

commit f9e6fd90241d9e78d0899a2aff736d9c1192e10e
Author: Maish <maishsk at users.noreply.github.com>
Date:   Sun Mar 9 16:24:01 2014 +0200

    Update connect_libvirt.rb
    
    Added an escape character to the connect string - since it was not escaped the connection URI was cut off after "?noverify=1"
---
 lib/vagrant-libvirt/action/connect_libvirt.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vagrant-libvirt/action/connect_libvirt.rb b/lib/vagrant-libvirt/action/connect_libvirt.rb
index 51aa8a6..eae5917 100644
--- a/lib/vagrant-libvirt/action/connect_libvirt.rb
+++ b/lib/vagrant-libvirt/action/connect_libvirt.rb
@@ -57,7 +57,7 @@ module VagrantPlugins
           if config.id_ssh_key_file
             # set ssh key for access to libvirt host
             home_dir = `echo ${HOME}`.chomp
-            uri << "&keyfile=#{home_dir}/.ssh/"+config.id_ssh_key_file
+            uri << "\&keyfile=#{home_dir}/.ssh/"+config.id_ssh_key_file
           end
 
           conn_attr = {}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list