From 0a83ee659689a924942e484e6456b46605ef29fb Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 10 Jul 2012 06:08:17 +0000 Subject: [PATCH] update for genimage testcase git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../autotest/testcase/installation/linux_diskless_installation | 2 +- .../autotest/testcase/installation/linux_statelite_installation | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/linux_diskless_installation b/xCAT-test/autotest/testcase/installation/linux_diskless_installation index ec0228350..7423585b4 100644 --- a/xCAT-test/autotest/testcase/installation/linux_diskless_installation +++ b/xCAT-test/autotest/testcase/installation/linux_diskless_installation @@ -23,7 +23,7 @@ cmd:cat /var/lib/dhcpd/dhcpd.leases| grep $$CN check:output=~$$CN cmd:copycds $$ISO check:rc==0 -cmd:$$NETBOOTDIR/genimage -i __GETNODEATTR($$CN,installnic)__ -n $$NETDRIVER -o __GETNODEATTR($$CN,os)__ -p compute +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 diff --git a/xCAT-test/autotest/testcase/installation/linux_statelite_installation b/xCAT-test/autotest/testcase/installation/linux_statelite_installation index 4659093ec..11d834369 100644 --- a/xCAT-test/autotest/testcase/installation/linux_statelite_installation +++ b/xCAT-test/autotest/testcase/installation/linux_statelite_installation @@ -17,7 +17,7 @@ cmd:service dhcpd restart check:rc==0 cmd:copycds $$ISO check:rc==0 -cmd:genimage -i __GETNODEATTR($$CN,installnic)__ -n $$NETDRIVER -o __GETNODEATTR($$CN,os)__ -p compute +cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute check:rc==0 cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ check:rc==0