git://git.onelab.eu
/
lxc-userspace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
can use make sync to push a working version on a tesst node
[lxc-userspace.git]
/
lxcsu
diff --git
a/lxcsu
b/lxcsu
index
560b9bf
..
742fc83
100755
(executable)
--- a/
lxcsu
+++ b/
lxcsu
@@
-4,6
+4,7
@@
import os
import sys
from argparse import ArgumentParser
import sys
from argparse import ArgumentParser
+
LXCSU_INTERNAL='/usr/sbin/lxcsu-internal'
def main ():
LXCSU_INTERNAL='/usr/sbin/lxcsu-internal'
def main ():
@@
-18,7
+19,7
@@
def main ():
commands = ['/bin/sh']
commands = ['/bin/sh']
- exec_args = [LXCSU_INTERNAL,slice_name,'--']
+ exec_args = [LXCSU_INTERNAL,slice_name,'--'
,'-c'
]
exec_args+=commands
os.execv(LXCSU_INTERNAL,exec_args)
exec_args+=commands
os.execv(LXCSU_INTERNAL,exec_args)