From 604fc160d57fce3c8f251809f2ad46c588489726 Mon Sep 17 00:00:00 2001 From: Junxiaw Date: Thu, 18 Dec 2014 19:28:23 -0800 Subject: [PATCH] modify autotest installation case --- .../installation/ubuntu_full_installation_vm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm b/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm index ca038afb1..8995fda4d 100644 --- a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm +++ b/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm @@ -1,23 +1,21 @@ start:Ubuntu_full_installation_flat_x86_vm os:Linux +cmd:copycds $$ISO +check:rc==0 cmd:makedns -n check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN cmd:sleep 60 cmd:makedhcp -n check:rc==0 cmd:makedhcp -a check:rc==0 -cmd:if [ ! -e /install/custom/netboot/ubuntu/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/ubuntu/compute.synclist; fi -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute synclists=/install/custom/install/ubuntu/compute.synclist +cmd:makeconservercf $$CN check:rc==0 +cmd:cat /etc/conserver.cf | grep $$CN +check:output=~$$CN cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute check:rc==0 -cmd:rpower $$CN reset +cmd:rpower $$CN boot check:rc==0 cmd:sleep 2000 cmd:ping $$CN -c 3