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
Support lxcsu <slicename>
[lxc-userspace.git]
/
lxcsu
diff --git
a/lxcsu
b/lxcsu
index
2ac7920
..
560b9bf
100755
(executable)
--- a/
lxcsu
+++ b/
lxcsu
@@
-14,6
+14,9
@@
def main ():
options = parser.parse_args()
slice_name=options.slice_name
commands = options.command_to_run
+ if (not commands):
+ commands = ['/bin/sh']
+
exec_args = [LXCSU_INTERNAL,slice_name,'--']
exec_args+=commands