mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
complete
This commit is contained in:
parent
da486cc46c
commit
10c0c24a3d
@ -39,15 +39,21 @@ end
|
||||
|
||||
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: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
|
||||
check:output=~Could not get xCAT object definitions
|
||||
cmd:cmd:chtab key=auditskipcmds site.value=ALL
|
||||
check:rc=0
|
||||
end
|
||||
|
||||
start:tabprune_V_n_auditlog
|
||||
description:remove 3 records from the auditlog table and display the remove records
|
||||
description:tabprune auditlog -V -n 3
|
||||
cmd:chtab key=auditskipcmds site.value=
|
||||
check:rc=0
|
||||
cmd:lsdef -t site
|
||||
cmd:lsdef -t site
|
||||
cmd:lsdef -t site
|
||||
@ -57,5 +63,7 @@ check:output=~4
|
||||
cmd:cat /tmp/result.tmp
|
||||
check:output=~recid,audittime
|
||||
cmd:rm /tmp/result.tmp
|
||||
cmd:chtab key=auditskipcmds site.value=ALL
|
||||
check:rc=0
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user