Sandro Bonazzola has uploaded a new change for review.

Change subject: Fixing format_ssh_command
......................................................................

Fixing format_ssh_command

format_ssh_command failed setting the Identity file
causing an error like no such file or directory.

Change-Id: Ic401993a4ebbcfa99335673e70fc0ae6d191b279
Bug-Url: https://bugzilla.redhat.com/904719
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M src/__main__.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-iso-uploader 
refs/changes/55/13055/1

diff --git a/src/__main__.py b/src/__main__.py
index c5e1fa0..67ef23a 100644
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -589,7 +589,7 @@
         if "ssh_port" in self.configuration:
             cmd += port_flag + " %(ssh_port)s " % self.configuration
         if "key_file" in self.configuration:
-            cmd += "-i %s " % self.configuration
+            cmd += "-i %(key_file)s " % self.configuration
         return cmd
 
     def format_nfs_command(self, address, export, dir):


--
To view, visit http://gerrit.ovirt.org/13055
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic401993a4ebbcfa99335673e70fc0ae6d191b279
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-iso-uploader
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to