From ceb843a3651aaaadb4465fc27d58e4f2dbd1a07c Mon Sep 17 00:00:00 2001
From: Nicolas Wavrant <nicolas.wavrant@nexedi.com>
Date: Tue, 23 Aug 2016 17:52:36 +0200
Subject: [PATCH] recipe/pbs: correctly separates arguments in promises

---
 slapos/recipe/pbs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slapos/recipe/pbs.py b/slapos/recipe/pbs.py
index 8bbfe25df..a9782279f 100644
--- a/slapos/recipe/pbs.py
+++ b/slapos/recipe/pbs.py
@@ -41,7 +41,7 @@ from slapos.recipe.librecipe import shlex
 
 def promise(args):
   ssh = subprocess.Popen(
-      [args['ssh_client'], '%(user)s@%(host)s/%(port)s' % args],
+      [args['ssh_client'], '%(user)s@%(host)s' % args, '-p', '%(port)s' % args],
       stdin=subprocess.PIPE, stdout=None, stderr=None
   )
 
-- 
2.30.9