update linux_statelite_installation

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
amy0701 2011-12-19 02:08:23 +00:00
parent 1ac85cfcb0
commit 678db1648e

View File

@ -1,14 +1,12 @@
start:Linux_statelite_installation_flat
os:Linux
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
check:rc==0
cmd:makedns -n
check:rc==0
cmd:service named restart
check:rc==0
cmd:makeconservercf $$CN
check:rc==0
cmd:sleep 60
cmd:sleep 90
cmd:getmacs $$CN -D
check:rc==0
cmd:makedhcp -n
@ -40,13 +38,27 @@ cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow
check:rc==0
cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow
check:rc==0
cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__
cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__
check:rc==0
cmd:nodeset $$CN statelite
check:rc==0
cmd:rnetboot $$CN
check:rc==0
cmd:sleep 600
cmd:sleep 400
cmd:lsdef -l $$CN | grep status
check:output=~booted
cmd:xdsh $$CN date
check:rc==0
check:output=~\d\d:\d\d:\d\d
cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype=ramdisk
check:rc==0
cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__ -t ramdisk
check:rc==0
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute
check:rc==0
cmd:rnetboot $$CN
check:rc==0
cmd:sleep 400
cmd:lsdef -l $$CN | grep status
check:output=~booted
cmd:xdsh $$CN date