From 47f051e08c488b1dcdb316bf1561e9f4c27599f3 Mon Sep 17 00:00:00 2001 From: caomengmeng Date: Tue, 26 Jul 2016 23:41:54 -0400 Subject: [PATCH] complete --- .../installation/reg_linux_statelite_installation_flat | 5 +++++ 1 file changed, 5 insertions(+) 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 3605fd021..019554cc2 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_flat +++ b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_flat @@ -124,6 +124,11 @@ cmd:ping $$CN -c 3 check:rc==0 check:output=~64 bytes from $$CN +cmd:rm -rf /tmp/image;mkdir /tmp/image +check:rc==0 +cmd:imgexport __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute /tmp/image +check:rc==0 + cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir.regbak ]; then rm -rf $rootimgdir; mv $rootimgdir.regbak $rootimgdir; fi check:rc==0 cmd:rmdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute