From patchwork Wed Feb 10 16:30:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yogi X-Patchwork-Id: 78448 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1AGVUTc002157 for ; Wed, 10 Feb 2010 16:31:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755598Ab0BJQbI (ORCPT ); Wed, 10 Feb 2010 11:31:08 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.141]:57361 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755589Ab0BJQbD (ORCPT ); Wed, 10 Feb 2010 11:31:03 -0500 Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by e1.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o1AGRK5I032013 for ; Wed, 10 Feb 2010 11:27:20 -0500 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o1AGV1Ih124920 for ; Wed, 10 Feb 2010 11:31:01 -0500 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o1AGUcQJ019293 for ; Wed, 10 Feb 2010 09:30:39 -0700 Received: from [9.124.158.64] (yogi-laptop.in.ibm.com [9.124.158.64]) by d03av03.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o1AGUaES019122; Wed, 10 Feb 2010 09:30:36 -0700 Subject: [Autotest] [KVM-AUTOTEST PATCH 5/5] KVM test: Support for Parallel install of guest OS From: yogi To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Ryan Harper In-Reply-To: <1265818995.6747.25.camel@yogi-laptop> References: <1265818995.6747.25.camel@yogi-laptop> Date: Wed, 10 Feb 2010 22:00:35 +0530 Message-Id: <1265819435.6747.31.camel@yogi-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 10 Feb 2010 16:31:31 +0000 (UTC) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 26cfbd0..34bb9cf 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -452,6 +452,24 @@ variants: md5sum = 2afee1b8a87175e6dee2b8dbbd1ad8e8 md5sum_1m = 768ca32503ef92c28f2d144f2a87e4d0 + - SUSE: + no setup + shell_prompt = "^root@.*[\#\$]\s*$|#" + + variants: + - 64: + no setup + image_name = sles11-64 + unattended_install: + cdrom=linux/SLES-11-DVD-x86_64-GM-DVD.iso + md5sum=50a2bd45cd12c3808c3ee48208e2586b + md5sum_1m=00000951cab7c32e332362fc424c1054 + floppy = "images/sles11floppy.img" + tftp = "images/sles11-64/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot cn" + kernel_args = "autoyast=floppy " + unattended_file = unattended/Sles11-64-autoinst.suse + - @Ubuntu: shell_prompt = "^root@.*[\#\$]\s*$" diff --git a/client/tests/kvm/unattended/Sles11-64-autoinst.suse b/client/tests/kvm/unattended/Sles11-64-autoinst.suse new file mode 100644 index 0000000..395a7b3 --- /dev/null +++ b/client/tests/kvm/unattended/Sles11-64-autoinst.suse @@ -0,0 +1,897 @@ + + + + + + + true + false + false + false + true + false + SUSE Linux Enterprise Server 11 - 2.6.27.19-5 + true + false + 2 + 8 + false + + + + processor + + + thermal + + + ata_piix + + + ata_generic + + + piix + + + ide_pci_generic + + + fan + + + jbd + + + ext3 + + + edd + + + grub + + + + YaST_Default_CA + YaST Default CA (linux-h1i4) + US + ENTER PASSWORD HERE + linux-h1i4.site + postmaster@site + false + + + false + + + no + no + no + sshd + + any + + no + yes + no + no + nf_conntrack_netbios_ns + no + yes + no + yes + no + no + no + false + false + + + + + false + + + none + + + + true + true + true + true + false + true + + + + + 1000 + $1$9ibtMhyS $uY16P2nxSWgejk4Ffz/LB0 + users + + + + 19 + x + floppy + + + + 1 + x + bin + daemon + + + 41 + x + xok + + + + 65533 + x + nobody + + + + 43 + x + modem + + + + 5 + x + tty + + + + 7 + x + lp + + + + 104 + ! + uuidd + + + + 51 + ! + postfix + + + + 111 + ! + gdm + + + + 65534 + x + nogroup + nobody + + + 101 + ! + messagebus + + + + 59 + ! + maildrop + + + + 33 + x + video + linux + + + 3 + x + sys + + + + 15 + x + shadow + + + + 20 + x + cdrom + + + + 21 + x + console + + + + 42 + x + trusted + + + + 102 + ! + haldaemon + + + + 16 + x + dialout + linux + + + 106 + ! + polkituser + + + + 10 + x + wheel + + + + 107 + ! + pulse + + + + 8 + x + www + + + + 40 + x + games + + + + 6 + x + disk + + + + 17 + x + audio + pulse + + + 110 + ! + suse-ncc + + + + 49 + x + ftp + + + + 25 + ! + at + + + + 9 + x + kmem + + + + 32 + x + public + + + + 12 + x + mail + + + + 0 + x + root + + + + 2 + x + daemon + + + + 103 + ! + sfcb + root + + + 105 + ! + ntp + + + + 14 + x + uucp + + + + 109 + ! + pulse-access + + + + 71 + ! + ntadmin + + + + 62 + x + man + + + + 108 + ! + pulse-rt + + + + 22 + x + utmp + + + + 13 + x + news + + + + 65 + ! + sshd + + + + + + + 127.0.0.1 + + localhost + + + + ::1 + + localhost ipv6-localhost ipv6-loopback + + + + fe00::0 + + ipv6-localnet + + + + ff00::0 + + ipv6-mcastprefix + + + + ff02::1 + + ipv6-allnodes + + + + ff02::2 + + ipv6-allrouters + + + + ff02::3 + + ipv6-allhosts + + + + + + 1.0 + + + english-us + + + en_US + en_US + + + + + false + false + dc=example,dc=com + 127.0.0.1 + true + false + true + member + + + + exop + false + false + + + + + true + auto + + + + dhcp + eth0 + auto + no + + + false + + false + + + + auto + false + false + false + false + false + + + + true + + + CT_DISK + all + + + + false + + + + localhost, 127.0.0.1 + + + + + + true + true + 10 + + + true + true + 10 + + + true + true + 10 + + + true + true + 5 + + + + 3 + + + + + + + + + dhcp-client + + + Basis-Devel + base + laptop + Minimal + + + + UTC + America/New_York + + + 100 + video,dialout + /home + -1 + /bin/bash + /etc/skel + + + + true + linux + 100 + /home/linux + + 99999 + 0 + 7 + + /bin/bash + 1000 + $2a$05 $FAAcDkjOVQxuDKvppCzcROelTVQeDSr9FIKSwP02wrg7SBulFkeXK + linux + + + true + Games account + 100 + /var/games + /bin/bash + 12 + * + games + + + true + bin + 1 + /bin + /bin/bash + 1 + * + bin + + + true + nobody + 65533 + /var/lib/nobody + /bin/bash + 65534 + * + nobody + + + true + Printing daemon + 7 + /var/spool/lpd + /bin/bash + 4 + * + lp + + + true + User for uuidd + 104 + /var/run/uuidd + + 99999 + 0 + 7 + + /bin/false + 102 + * + uuidd + + + true + Postfix Daemon + 51 + /var/spool/postfix + + 99999 + 0 + 7 + + /bin/false + 51 + * + postfix + + + true + Novell Customer Center User + 110 + /var/lib/YaST2/suse-ncc-fakehome + + 99999 + 0 + 7 + + /bin/bash + 105 + * + suse-ncc + + + true + FTP account + 49 + /srv/ftp + /bin/bash + 40 + * + ftp + + + true + Gnome Display Manager daemon + 111 + /var/lib/gdm + + 99999 + 0 + 7 + + /bin/false + 106 + * + gdm + + + true + Batch jobs daemon + 25 + /var/spool/atjobs + + 99999 + 0 + 7 + + /bin/bash + 25 + * + at + + + true + root + 0 + /root + /bin/bash + 0 + $2a$05 $6EDh/ymzfFidFVZ9GxPpR.QLaswYgGBxlmCoy0WUo42stJDGcPcxK + root + + + true + Mailer daemon + 12 + /var/spool/clientmqueue + /bin/false + 8 + * + mail + + + true + Daemon + 2 + /sbin + /bin/bash + 2 + * + daemon + + + true + NTP daemon + 105 + /var/lib/ntp + + 99999 + 0 + 7 + + /bin/false + 74 + * + ntp + + + true + Unix-to-Unix CoPy system + 14 + /etc/uucp + /bin/bash + 10 + * + uucp + + + true + User for D-Bus + 101 + /var/run/dbus + + 0 + 7 + + /bin/false + 100 + * + messagebus + + + true + User for haldaemon + 102 + /var/run/hald + + 0 + 7 + + /bin/false + 101 + * + haldaemon + + + true + WWW daemon apache + 8 + /var/lib/wwwrun + /bin/false + 30 + * + wwwrun + + + true + Manual pages viewer + 62 + /var/cache/man + /bin/bash + 13 + * + man + + + true + PolicyKit + 106 + /var/run/PolicyKit + + 99999 + 0 + 7 + + /bin/false + 103 + * + polkituser + + + true + News system + 13 + /etc/news + /bin/bash + 9 + * + news + + + SSH daemon + 65 + /var/lib/sshd + + + -1 + 99999 + 0 + 7 + + /bin/false + 71 + sshd + + + true + PulseAudio daemon + 107 + /var/lib/pulseaudio + + 99999 + 0 + 7 + + /sbin/nologin + 104 + * + pulse + + + + 16 + gdm + false + + + 38