diff --git a/xCAT-test/autotest/testcase/installation/linux_statelite_installation b/xCAT-test/autotest/testcase/installation/linux_statelite_installation index 22af81ab9..4659093ec 100644 --- a/xCAT-test/autotest/testcase/installation/linux_statelite_installation +++ b/xCAT-test/autotest/testcase/installation/linux_statelite_installation @@ -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