From bc6622e9b41c96c151b59a3d4f375c242447c651 Mon Sep 17 00:00:00 2001 From: caomengmeng Date: Thu, 29 Sep 2016 10:48:41 +0800 Subject: [PATCH] update rpower for ppc64le --- .../installation/reg_linux_statelite_installation_flat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_flat b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_flat index ec95c7bac..f91187513 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_flat +++ b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_flat @@ -65,7 +65,7 @@ check:rc==0 cmd:lsdef $$CN |grep provmethod check:rc==0 check:output=~statelite -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;else rpower $$CN boot; fi +cmd:if [[ "__GETNODEATTR($$CN,arch)__" = "ppc64" ]]; then rnetboot $$CN;else rpower $$CN boot; fi check:rc==0 cmd:sleep 900 @@ -100,7 +100,7 @@ check:rc==0 cmd:lsdef $$CN |grep provmethod check:rc==0 check:output=~__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;else rpower $$CN boot; fi +cmd:if [[ "__GETNODEATTR($$CN,arch)__" = "ppc64" ]]; then rnetboot $$CN;else rpower $$CN boot; fi check:rc==0 cmd:sleep 900