X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fvuseradd;fp=scripts%2Fvuseradd;h=80b00f2958c2e95c1725adac51cc7a8dfb4f9ebd;hb=66033b3d11dfc7db217940ead889491f71c84813;hp=2c9dfb33374e3cdf9f3c65813c2ff7cc496e21ee;hpb=01dc9f0b611d058dc1108932d4375f948cf32872;p=util-vserver-pl.git diff --git a/scripts/vuseradd b/scripts/vuseradd index 2c9dfb3..80b00f2 100755 --- a/scripts/vuseradd +++ b/scripts/vuseradd @@ -109,6 +109,9 @@ if [ ! -d $__CONFDIR/$NAME ] ; then echo -1 > $DIR/dlimits/0/inodes_total echo -1 > $DIR/dlimits/0/space_total + # Disable mount namespaces + touch $DIR/nonamespace + # Remove the basically empty guest directory rm -rf $__DEFAULT_VSERVERDIR/$NAME # Move the guest back