2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00
This commit is contained in:
caomengmeng 2016-05-05 05:44:44 -04:00
parent 6f7aaa8e3f
commit c5adfd1bbb

View File

@ -41,6 +41,10 @@ start:tabprune_i_auditlog
description:remove the records whose recid is less than the input recid number
cmd:chtab key=auditskipcmds site.value=
check:rc=0
cmd:lsdef -t site
cmd:lsdef -t site
cmd:lsdef -t site
cmd:sleep 3
cmd:n1=`lsdef -t auditlog|sed -n 2p|awk '{print $1}'`;tabprune auditlog -i $n1;n1=$(($n1-1));lsdef -t auditlog -l $n1
check:rc=0
check:output=~tabprune of auditlog complete