From patchwork Tue Mar 2 14:29:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yogi X-Patchwork-Id: 83180 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 o22ETvbw007705 for ; Tue, 2 Mar 2010 14:29:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753272Ab0CBO3z (ORCPT ); Tue, 2 Mar 2010 09:29:55 -0500 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:50316 "EHLO e28smtp05.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752362Ab0CBO3w (ORCPT ); Tue, 2 Mar 2010 09:29:52 -0500 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by e28smtp05.in.ibm.com (8.14.3/8.13.1) with ESMTP id o22ETmDl024481 for ; Tue, 2 Mar 2010 19:59:48 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o22ETl142334960 for ; Tue, 2 Mar 2010 19:59:48 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o22ETlMl019914 for ; Tue, 2 Mar 2010 19:59:47 +0530 Received: from localhost.localdomain (yogi-laptop.in.ibm.com [9.124.158.64]) by d28av01.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o22ETkZE019898; Tue, 2 Mar 2010 19:59:46 +0530 From: Yogananth Subramanian To: lmr@redhat.com Cc: anantyog@linux.vnet.ibm.com, autotest@test.kernel.org, kvm@vger.kernel.org Subject: [PATCH 2/2] [Autotest] [KVM-AUTOTEST]] support to SLES install Date: Tue, 2 Mar 2010 19:59:45 +0530 Message-Id: <1267540185-30761-3-git-send-email-anantyog@linux.vnet.ibm.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1267540185-30761-1-git-send-email-anantyog@linux.vnet.ibm.com> References: <1267540185-30761-1-git-send-email-anantyog@linux.vnet.ibm.com> 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]); Tue, 02 Mar 2010 14:29:58 +0000 (UTC) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index b4f7b34..2a5b46b 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -477,6 +477,28 @@ variants: md5sum = 2afee1b8a87175e6dee2b8dbbd1ad8e8 md5sum_1m = 768ca32503ef92c28f2d144f2a87e4d0 + - SUSE: + no setup + shell_prompt = "^root@.*[\#\$]\s*$|#" + unattended_install: + pxe_image = "linux" + pxe_initrd = "initrd" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "autoyast=floppy" + + variants: + - 64: + no setup + image_name = sles11-64 + cdrom=linux/SLES-11-DVD-x86_64-GM-DVD1.iso + md5sum = 50a2bd45cd12c3808c3ee48208e2586b + md5sum_1m = 00000951cab7c32e332362fc424c1054 + unattended_install: + unattended_file = unattended/Sles11-64-autoinst.xml + tftp = "images/sles11-64/tftpboot" + floppy = "images/sles11-64floppy.img" + pxe_dir = "boot/x86_64/loader" + - @Ubuntu: shell_prompt = "^root@.*[\#\$]\s*$" diff --git a/client/tests/kvm/unattended/Sles11-64-autoinst.xml b/client/tests/kvm/unattended/Sles11-64-autoinst.xml new file mode 100644 index 0000000..945d161 --- /dev/null +++ b/client/tests/kvm/unattended/Sles11-64-autoinst.xml @@ -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 + 10 + + + + 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 + 60 + 31 + 50 + + 800X600@60HZ + --> VESA + + 800x600 (SVGA) + gnome + +