X-Git-Url: http://git.onelab.eu/?p=lxc-userspace.git;a=blobdiff_plain;f=slicesu;fp=slicesu;h=aec402c65df04527eacbf57e0484767e674fedcd;hp=15e585405e27cf6cd95fc2c57d5844984c982542;hb=e060cdb530ba984703d56872672d1ec148291031;hpb=058206ebf8f17c2f9e740d4ee5116391809a6c76 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):