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
define a default for 'arch' as I find it sometimes undefined
[lxc-userspace.git]
/
lxcsu
diff --git
a/lxcsu
b/lxcsu
index
9282a9a
..
97600cf
100644
(file)
--- a/
lxcsu
+++ b/
lxcsu
@@
-56,6
+56,9
@@
except:
slice_spec = None
+# xxx fixme xxx - provide a default as this is not always properly computed
+arch = 'x86_64'
+
for e in output:
try:
l = e.rstrip()
@@
-135,7
+138,6
@@
if (not umount('/sys/fs/cgroup')):
pid = os.fork()
-#arch = 'x86_64'
if (pid == 0):
cap_arg = '--drop='+drop_capabilities