add nodeset osimage support for linux_diskless_installation

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
amy0701 2012-12-14 05:51:31 +00:00
parent 3b08c74368
commit f7a82f2c05

View File

@ -1,4 +1,4 @@
start:Linux_diskless_installation_flat
start:Linux_diskless_installation_flat_ppc64
os:Linux
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
check:rc==0
@ -27,7 +27,7 @@ cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__
check:rc==0
cmd:nodeset $$CN netboot
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
cmd:rnetboot $$CN
check:rc==0
@ -37,4 +37,14 @@ check:output=~booted
cmd:xdsh $$CN date
check:rc==0
check:output=~\d\d:\d\d:\d\d
cmd:nodeset $$CN osimage
check:rc==0
cmd:rnetboot $$CN
check:rc==0
cmd:sleep 300
cmd:lsdef -l $$CN | grep status
check:output=~booted
cmd:xdsh $$CN date
check:rc==0
check:output=~\d\d:\d\d:\d\d
end