Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Automatically setting quotaugidlimit

144 bytes added, 20:01, 13 February 2013
script did not work when multiple VEs changed
for file in $FILES
do
STRING=""
VALUE=""
INT=""
CONFFILE=""
VEID=""
USERC=""
GROUPC=""
TOTAL=""
 
# source the config file
. $file
# set the new quotaugidlimit for container
vzctl set $VEID --quotaugidlimit $TOTAL --save
echo "New quotaugidlimit set to $TOTAL for VEID $VEID\n"
fi
fi
8
edits