2011-12-07 08:39:50 +00:00
|
|
|
start:lslite_i
|
|
|
|
description:lslite -i
|
|
|
|
os:Linux
|
2012-08-09 09:33:42 +00:00
|
|
|
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
2011-12-07 08:39:50 +00:00
|
|
|
check:rc==0
|
|
|
|
cmd:chtab litefile.image="ALL" litefile.file="/xcatpost" litefile.options="tmpfs"
|
|
|
|
check:rc==0
|
|
|
|
cmd:tabdump litefile
|
|
|
|
check:rc==0
|
|
|
|
cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__
|
|
|
|
check:rc==0
|
|
|
|
cmd:lslite -i __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
|
|
|
check:rc==0
|
|
|
|
check:output=~/xcatpost
|
|
|
|
check:output=~/etc/mtab
|
|
|
|
check:output!~Error
|
|
|
|
cmd:chtab -d file="/xcatpost" litefile
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
start:lslite_noderange
|
|
|
|
description:lslite noderange
|
|
|
|
os:Linux
|
2012-08-09 09:33:42 +00:00
|
|
|
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
2011-12-07 08:39:50 +00:00
|
|
|
check:rc==0
|
|
|
|
cmd:chtab litefile.image="ALL" litefile.file="/xcatpost" litefile.options="tmpfs"
|
|
|
|
check:rc==0
|
|
|
|
cmd:chtab node=$$CN statelite.statemnt="$$MN:/nodedata"
|
|
|
|
check:rc==0
|
|
|
|
cmd:chtab litetree.priority=2 litetree.directory="test.server:/statelite/test"
|
|
|
|
cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
|
|
|
|
check:rc==0
|
|
|
|
cmd:lslite $$CN
|
|
|
|
check:rc==0
|
|
|
|
check:output!~Error
|
|
|
|
cmd:chtab -d file="/xcatpost" litefile
|
|
|
|
cmd:chtab -d node=$$CN statelite
|
|
|
|
cmd:chtab -d priority=2 litetree
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
start:lslite_h
|
|
|
|
os:Linux
|
|
|
|
description:lslite -h and --help
|
|
|
|
cmd:lslite -h
|
|
|
|
check:output=~usage|Usage
|
|
|
|
cmd:lslite --help
|
|
|
|
check:output=~usage|Usage
|
|
|
|
end
|
|
|
|
|
|
|
|
|