From f13eab38b57a0d131d5d8b89e9e90cdc20c66c18 Mon Sep 17 00:00:00 2001 From: junxiawang Date: Thu, 4 Jun 2015 01:42:15 -0400 Subject: [PATCH] modify autotest install testcase --- .../installation/reg_linux_diskfull_installation_flat | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat index 8fd5fd8b9..6dcd1d73b 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat +++ b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat @@ -13,7 +13,7 @@ check:rc==0 cmd:cat /etc/conserver.cf | grep $$CN check:output=~$$CN cmd:sleep 20 -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then getmacs -D $$CN; fi +cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then getmacs -D $$CN; fi check:rc==0 cmd:makedhcp -n check:rc==0 @@ -25,8 +25,7 @@ check:output=~$$CN cmd:copycds $$ISO check:rc==0 -cmd:mkdef $$STATELITE -u profile=compute provmethod=statelite -cmd:mkdef $$STATELESS -u profile=compute provmethod=netboot +cmd:if cat /etc/*release |grep "7.0" |grep "Red Hat">/dev/null;then mkdef $$STATELITE -u profile=compute provmethod=statelite osvers=rhels7;else mkdef $$STATELITE -u profile=compute provmethod=statelite; fi cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute check:rc==0 cmd:lsdef $$CN |grep provmethod