git://git.onelab.eu
/
lxc-userspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
058206e
)
Fixed an error that crept in while refactoring kvmsu into slicesu
author
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 26 Mar 2014 14:13:56 +0000
(10:13 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 26 Mar 2014 14:13:56 +0000
(10:13 -0400)
slicesu
patch
|
blob
|
history
diff --git
a/slicesu
b/slicesu
index
15e5854
..
aec402c
100644
(file)
--- 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]
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):
def lxcsu(slice_name, args):