From: Sapan Bhatia Date: Wed, 26 Mar 2014 14:13:56 +0000 (-0400) Subject: Fixed an error that crept in while refactoring kvmsu into slicesu X-Git-Tag: lxc-userspace-1.0-10~2 X-Git-Url: http://git.onelab.eu/?p=lxc-userspace.git;a=commitdiff_plain;h=e060cdb530ba984703d56872672d1ec148291031 Fixed an error that crept in while refactoring kvmsu into slicesu --- diff --git a/slicesu b/slicesu index 15e5854..aec402c 100644 --- a/slicesu +++ b/slicesu @@ -53,7 +53,7 @@ def kvmsu(slice_name, args): if (ip_addr_part[0]=='(' and ip_addr_part[-1]==')'): ip_addr = ip_addr_part[1:len(ip_addr_part)-1] - os.execv('/usr/bin/ssh',['/usr/bin/ssh','-o','StrictHostKeyChecking=no','root@%s'%ip_addr,'"$@"']) + os.execv('/usr/bin/ssh',['/usr/bin/ssh','-o','StrictHostKeyChecking=no','root@%s'%ip_addr] + args.command_to_run) def lxcsu(slice_name, args):