Changes

Jump to: navigation, search

Automatically setting quotaugidlimit

88 bytes added, 23:05, 12 February 2013
only update if larger than current
# check if quotaugidlimit is > 0
if [ ! $INT !== 0 ];
then
# get configfile name
TOTAL=$(($USERC + $GROUPC + 15))
# only change if current value is lower if [ $TOTAL -gt $INT ]; then # set the new quotaugidlimit for container vzctl set $VEID --quotaugidlimit $TOTAL --save fi
fi
fi
8
edits

Navigation menu