Clean up. Start network namespace per slice by default.
[util-vserver-pl.git] / scripts / vuseradd
index ef57534..b54aec9 100755 (executable)
@@ -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