git://git.onelab.eu
/
util-vserver-pl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up. Start network namespace per slice by default.
[util-vserver-pl.git]
/
scripts
/
vuseradd
diff --git
a/scripts/vuseradd
b/scripts/vuseradd
index
ef57534
..
b54aec9
100755
(executable)
--- a/
scripts/vuseradd
+++ b/
scripts/vuseradd
@@
-117,6
+117,9
@@
if [ ! -d $__CONFDIR/$NAME ] ; then
# Disable mount namespaces
touch $DIR/nonamespace
+ # Add spaces directory
+ mkdir -p $DIR/spaces
+
# Remove the basically empty guest directory
rm -rf $__DEFAULT_VSERVERDIR/$NAME
# Move the guest back